| Features | - 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
| - 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
| - mutate state directly with ordinary assignments
- useSnapshot re-renders a component only when the state it reads changes
- subscribe to changes from outside React
- Suspense support for promises in state
- Redux DevTools integration through valtio/utils
- proxySet and proxyMap helpers and computed properties
|