| What it is | Simple, scalable state management | A JS library for predictable global state management | Bear necessities for React state | Atomic state management for React |
| Features | - observable state updated with plain assignments
- computed values and reactions
- re-renders only the components that use changed state
- works outside any UI framework
- React bindings (mobx-react-lite)
| - single store
- actions and pure reducers
- middleware
- Redux DevTools time-travel debugging
- Redux Toolkit
- RTK Query, Redux Toolkit's data fetching and caching add-on
| - stores as hooks, no providers
- selectors that re-render only on change
- works with React, React Native and vanilla JavaScript
- middleware for devtools, persistence, Redux-style reducers and Immer
- TypeScript types
| - Primitive atoms used with useAtom like React's useState
- Derived atoms computed from other atoms, including async ones with Suspense
- Writable and write-only derived atoms for actions
- Minimal core of about 2 kB with no string keys
- Extensions for TanStack Query, tRPC, Immer, Redux, XState, Zustand, URL location and more
|