Lesson 11 of 28 · Hooks, One at a Time
Learn useReducer In 20 Minutes
State transitions gathered in one place instead of scattered across handlers. Once a component has four related pieces of state, this is usually the answer.
Video not playing? Some channels disable embedding, and there is no way around it.Open on YouTubeinstead — then come back and mark it complete.