...

/

Introduction to State Management

Introduction to State Management

Next, we’ll go over state management in React.

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 ...

Context API