Update from obsidian - thinkpad

Affected files:
notes/utils/React.md
projects/personal-page-notes/List of Games.md
projects/radio-notes/Dev Stack.md
This commit is contained in:
Alexander Navarro 2023-10-07 13:06:09 -03:00
parent f58e4ba9d9
commit 4a3842ac20
3 changed files with 5 additions and 9 deletions

View file

@ -1,9 +1,3 @@
## Typescript
- [Cheatsheet](https://react-typescript-cheatsheet.netlify.app)
## Prevent UseEffect Infinite Loops
React use [shallow comparision](https://learntechsystems.com/what-is-shallow-comparison-in-js/) (values are equals in case of primitive types. In case of object it just check the reference) to check if the dependency changes between renders, this can conduce to bugs in the following situa
### Always use a depency array