Introduction to State Management
Explore how to manage application state effectively in React using Redux and the Context API. Understand challenges of state complexity, the role of React hooks like useReducer, and why Redux remains a popular tool for predictable global state management despite new React features.
We'll cover the following...
Global state management
The more an application grows in size, the more its complexity and data grow. Managing the application state becomes increasingly difficult and cumbersome. You might wonder when to pass props, to which component, and how to pass them. Other questions you may have are how the props influence the state of your components, and what happens if you change the state of a component.
In the past few years, React has introduced great tooling to deal with the increase of complexity in the application state. The Context API as ...