PHASE 03
๐ช Effects, Data & Hooks
Connect components to the outside world: fetch data from APIs, run timers, access DOM elements and package reusable logic into custom hooks.
โฑ๏ธ ~2 hours of lessons
๐ 4 lessons
โ๏ธ 5 exercises Medium
โถ Start this phase
๐ฏ In this phase you willโฆ
- Run side effects with useEffect and clean them up
- Fetch data with loading and error states
- Use useRef for DOM access and mutable values
- Write custom hooks