Readings
- Kent's Should I
useStateoruseReducer? - Kent's How to implement
useStatewithuseReducer useTypescript— A Complete Guide to React Hooks and TypeScript by Trey Huffine- Kent's When to
useMemoanduseCallback - Memoization and React
- WTF is Closure
- Lifting state up
- Michael Jackson Tweet: Composition
- Kent's
useEffectvsuseLayoutEffect - React docs: hook reference
- [ESLint] Feedback for 'exhaustive-deps' lint rule #14920
- Gupta Garuda: React Hooks - Understanding Component Re-renders
- StackOverFlow: When to use
useImperativeHandle streamich/react-use- Gabe Ragland:
useHooks
Etc
- How to do lazy initialization with
useReduceranduseState - Abortable fetch
- Is
setStatefromuseStateanddispatchfromuseReducerguaranteed to be stable? What does that mean? - What does it mean when the React docs say: "You may rely on
useMemoas a performance optimization, not as a semantic guarantee." - How does
Object.iscomparison algorithm work? - Why does the React docs says "we recommend starting with
useEffectfirst and only tryinguseLayoutEffectif that causes a problem"?