JavaScript state management libraries

Compare state management packages, from Redux and Zustand to Jotai and MobX. Inspect their APIs, peer requirements, and documented capabilities.

11 indexed packages. Inspect package specifications and compare alternatives according to their actual role in your application.

Packages in this category

  • Zustand: A small, fast and scalable bearbones state-management solution.
  • Redux Toolkit: The official, opinionated, batteries-included toolset for Redux.
  • Jotai: Primitive and flexible state management for React.
  • mobx: Simple, scalable state management.
  • xstate: Finite State Machines and Statecharts for the Modern Web.
  • valtio: 🧙 Valtio makes proxy-state simple for React and Vanilla
  • nanostores: A tiny (351 bytes) state manager for React/Preact/Vue/Svelte with many atomic tree-shakable stores
  • @preact/signals: Manage state with style in Preact
  • Immutable.js: Immutable Data Collections
  • Redux: Predictable state container for JavaScript apps
  • React Redux: Official React bindings for Redux

What to compare

  • Decide whether you need local UI state, shared client state, or server-data caching.
  • Review the documented store lifecycle and server-rendering setup for your architecture.
  • Check persistence, middleware, and developer tooling in maintainer documentation rather than inferring them from package size.
  • Compare required framework peers, runtime dependencies, type declarations, and the exact release you plan to install.

Example package specifications

zustand

Latest version5.0.16
Runtime dependencies0
Bundled typesBundled declarations
Gzip measurement490 B

Evidence and freshness

@reduxjs/toolkit

Latest version2.13.0
Runtime dependencies6
Bundled typesBundled declarations
Gzip measurement14.21 KiB

Evidence and freshness

Category comparisons

Filter this category by your requirements