10 Best JavaScript State Management Libraries

List hand-picked by Openbase Experts
Learn More

xstate

State machines and statecharts for the modern web.

1.2M
22.5K
Built-in
MIT
@reduxjs/toolkit

The official, opinionated, batteries-included toolset for efficient Redux development

2.1M
9.1K
Built-in
MIT
redux

Predictable state container for JavaScript apps

8.4M
59.2K
Built-in
MIT
react-redux

Official React bindings for Redux

6.2M
22.5K
Built-in
MIT
zustand

🐻 Bear necessities for state management in React

1.1M
25.9K
Built-in
MIT
recoil

Recoil is an experimental state management library for React apps. It provides several capabilities that are difficult to achieve with React alone, while being compatible with the newest features of React.

357K
18.2K
Built-in
MIT
jotai

πŸ‘» Primitive and flexible state management for React

227K
11.7K
Built-in
MIT
@rx-angular/state

Reactive Extensions for Angular.

21.8K
1.5K
Built-in
MIT
mobx-react

Simple, scalable state management.

692K
25.9K
Built-in
MIT
vuex

πŸ—ƒοΈ Centralized State Management for Vue.js.

1.7M
27.8K
Built-in
MIT
valtio

πŸ’Š Valtio makes proxy-state simple for React and Vanilla

80.2K
6.1K
Built-in
MIT
mobx

Simple, scalable state management.

979K
25.9K
Built-in
MIT
flux

Application Architecture for Building User Interfaces

665K
17.3K
DefinitelyTyped
BSD-3-Clause
effector

Business logic with ease β˜„οΈ

24K
4.1K
Built-in
MIT
@ngneat/elf

πŸ§™β€β™€οΈ A Reactive Store with Magical Powers

13K
1.2K
Built-in
MIT
mk

A MobX powered state management solution based on data trees with first class support for Typescript, support for snapshots, patches and much more

4.2K
416
Built-in
MIT
rq

βš›οΈ Hooks for fetching, caching and updating asynchronous data in React

1.4M
27.6K
Built-in
MIT
mobx-state-tree

Full-featured reactive state management without the boilerplate

88.1K
6.6K
Built-in
MIT
@datorama/akita

πŸš€ State Management Tailored-Made for JS Applications

59.2K
3.5K
Built-in
Apache-2.0
@ngxs/store

πŸš€ NGXS - State Management for Angular

99.5K
3.3K
Built-in
MIT
@rematch/core

The Redux Framework

49.7K
8K
Built-in
MIT
@angular-redux/store

[Unmaintained] Redux bindings and utilities for Angular

19.5K
139
No support
MIT
cor

The simple but very powerful and incredibly fast state management for React that is based on hooks

18.1K
1.5K
Built-in
MIT
nrw

Redux wrapper for Next.js

186K
2.4K
Built-in
MIT
rrs

react-ridge-state is a very simple global state management library for React and React Native

485
Built-in
MIT
rr

State management for React

82
413
Built-in
MIT
@xstate/react

State machines and statecharts for the modern web.

508K
22.5K
Built-in
MIT
mobx-react-lite

Simple, scalable state management.

781K
25.9K
Built-in
MIT
@xstate/vue

State machines and statecharts for the modern web.

18.5K
22.5K
Built-in
MIT
@ngrx/component-store

Reactive State for Angular

131K
7.4K
Built-in
MIT
cor

Powerfully simple global state management for Vue 3

402
473
Built-in
MIT
mobx-angular

MobX connector to Angular

19.7K
463
Built-in
MIT
nqp

Convenient state management of query parameters in Next.js apps.

11.8K
68
Built-in
MIT
os

Observable Store provides a simple way to manage state in Angular, React, Vue.js and other front-end applications.

3.1K
605
Built-in
MIT
vc

Binding helpers for Vuex and vue-class-component

104K
1.7K
Built-in
MIT
vue-save-state

A Vue mixin to save the state of a component to local storage

710
244
No support
MIT
ml

Log Mobx Actions, Reactions, Transactions and Computations

4.1K
228
Built-in
MIT
@risingstack/react-easy-state

Simple React state management. Made with ❀️ and ES6 Proxies.

2.7K
2.5K
Built-in
MIT
bee

A tiny library inspired by Redux & Vuex to help you manage state in your JavaScript apps

2.5K
368
No support
MIT
@angular-extensions/model

Angular Model - Simple state management with minimalist API, one way data flow, multiple model support and immutable data exposed as RxJS Observable.

1.8K
268
No support
MIT
spe

State management for React with Redux, made easier

69
81
No support
MIT
sto

A beautifully-simple framework-agnostic modern state management library.

188
227
Built-in
MIT
lac

⚑️Ultra lightweight state management for React and Inferno

341
205
Built-in
MIT
web-app-bootstrap

awesome practice projects for web.

7
13
No support
MIT
@kubric/reduxutils

Utility functions for redux reducers and state management

238
0
Built-in
MIT
freactal

Clean and robust state management for React and React-like libs.

122
1.7K
No support
MIT
@kubric/reducer-factory

Redux reducers made declarative

122
5
Built-in
MIT
nsm

Node js state machine

72
9
No support
MIT
reh

ReHoard is a pub/sub state management tool for ReactJs or Nodejs

71
No support
MIT
dob

Light and fast πŸš€ state management tool using proxy.

65
729
Built-in
ISC
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.