State management

Introduction

State management refers to the management of state in an app, typically how state is globally managed through an app. In smaller apps, there is not much of a need to use a state management library; however, as your app complexity grows, you will find that you often need a state management library.

State management libraries

In the next pages, we will look at two popular state-management libraries:

  1. Zustand

  2. Redux Toolkit