React Hooks: Bye Bye to Classes
summary
Shows how to replace React class components with React Hooks to avoid lifecycle methods, share and manage state across different parts of an app, remove class boilerplate, and improve reuse of state logic by using functions. Includes live-coding examples that refactor old class components and implement state management using only Hooks (React useState, useEffect and custom hooks implied).
AI-written summary · about
chapters (13)
- 0:00Welcome
- 1:29Context and motivation
- 2:53What are Hooks?
- 4:15Hooks advantages
- 7:22useState explained
- 8:28Demo: useState
- 11:07useEffect explained
- 13:20Demo: useEffect
- 16:52Logic reuse with Hooks
- 19:53useContext explained
- 21:58Demo: useContext
- 24:48Global state management
- 27:44Summary
related talks
27mEric Bishard - State Management with React Hooks
31mWhy we’ll all use React Hooks
18mTyler McGinnis - Why React Hooks?
45mWhy I am hooked on the future of React
56mEliminate extra dependencies : State management for React apps with hooks
24mReact on the Hooks
25mWill React Hooks Replace Redux?
56mWith great power comes great React hooks!
