Favicon of Zustand

Zustand

Manage application state with a minimal, hook-based API that eliminates boilerplate and avoids common rendering pitfalls.

Screenshot of Zustand website

Experience a small, fast, and scalable state management solution designed specifically for React. By utilizing a hook-based API, this library removes the need for complex providers and excessive boilerplate, allowing you to focus on building features rather than managing infrastructure. It is built to handle common challenges like the dreaded zombie child problem and context loss between mixed renderers, ensuring your application remains stable and performant.

Getting started is straightforward. You define your store as a hook, which can hold primitives, objects, or functions. The built-in set function merges state automatically, keeping your logic clean and predictable. Because your store is a hook, you can access it anywhere in your component tree without wrapping your application in providers.

Key benefits include:

  • No boilerplate: Write less code to manage complex state.
  • Selective re-renders: Components only update when the specific state they select changes.
  • Explicit and flexible: It provides enough structure to remain organized while staying unopinionated about your architecture.
Categories:
Downloads
24,517,329
Stars
57,266
Last published
Feb 1, 2026
Last commit
4 days ago
License
MIT

Similar to Zustand

Favicon

 

  
  
Favicon

 

  
  
Favicon