Back to course overview
React Fundamentals
Effects and Data
Load data in effects with loading and error states, extract reusable logic into custom hooks, and share state with lifting and context.
3 lessons ยท 2h 2m
- 40museEffect and data fetchingReading
Run effects after render, clean them up, and fetch data with clear loading, success and error states.
- 42mCustom hooksReading
Extract reusable stateful logic, such as toggles and filters, into your own use-prefixed hooks.
- 40mContext and lifting stateReading
Share state between components by lifting it to a common parent, and deliver it deep in the tree with context.