Key Insight: useReducer = useState + externalized transition logic. dispatch is a stable function — reducer is the pure function that describes HOW state changes.
Practice this in a timed sprint →
5 free questions, no signup required