Keeping the State Manageable

Learn how to keep the state manageable.

Managing State

It is simplest to have a reducer for each key in the state. This allows for an encapsulation approach where it is immediately apparent where we can modify different parts of our state.

For a very large project, it might be beneficial to separate the server data and the auxiliary/temporary data under different root keys:

Get hands-on with 1200+ tech skills courses.