Effects & Custom Hooks
SkillDisplay Educator Network
Show in appBeschreibung
Synchronize with external systems using effects, hold mutable values with refs, and extract reusable logic into custom hooks.
Ziele
I know
- what useEffect synchronizes and when you do not need it
- what useRef holds (the concept transfers to React Native; DOM manipulation via refs is web-only)
- the Rules of Hooks
I can
- run and clean up an effect
- keep a mutable value in a ref
- extract logic into a custom hook