April 2021
Intermediate to advanced
376 pages
9h 53m
English
This chapter covers
useReducerAs your applications grow, it’s natural for some components to handle more state, especially if they supply different parts of that state to multiple children. When you find you always need to update multiple state values together or your state update logic is so spread out that it’s hard to follow, it might be time to define a function to manage state updates for you: a reducer
Read now
Unlock full access