With great power comes great React hooks!
summary
Shows that Hooks (since React 16.8) let functional components hold state and lifecycle logic using useState, useEffect and useReducer, demonstrates custom hooks like useLocalStorage and useDarkMode inside a create‑react‑app, builds a working to‑do with localStorage persistence and window‑resize hiding, claims less boilerplate and colocated logic, warns of rules (top‑level call order and deps arrays), and confirms classes remain supported while the demos run and reduce nesting and wrapper hell.
AI-written summary · about
chapters (4)
- 0:00Start
- 11:03Better reuse and primitive for stateful logic between components
- 41:43How will hooks affect the core concepts of React?
- 48:53Test the component as usual.
related talks
45mWhy I am hooked on the future of React
17mReact hooks: the good, the bad and the ugly
35mA Guided Tour of React Hooks
22mI Am Hooked on React
29mState Management with React Hooks
29mCustom Hooks in React: The Ultimate UI Abstraction Layer
27mEric Bishard - State Management with React Hooks
27mHooked on React Hooks
