Chapter 7 : Enhancing Components with Hooks
Samples
useEffect
hook
useEffect
hookThe Dependency Array
Too many effects - (run it)
Effect Dependencies - (run it)
Any Key to Render - (run it)
Array Dependency issue - (run it)
useMemo
- (run it)Function Dependency issue - (run it)
useCallback
- (run it)
When to useLayoutEffect
useReducer
Checkbox with
useState
- (run it)Checkbox with
toggle
- (run it)Checkbox with
useReducer
- (run it)Increment number with
useReducer
- (run it)
useReducer to handle Complex State
Last updated