A tiny state manager for React, React Native, Preact, Vue, Svelte, Solid, Lit, Angular and vanilla JS. It uses many atomic stores and direct manipulation.
- Small. Less than 1 KB. Zero dependencies.
- Fast. With small atomic and derived stores, you do not need to call the selector function for all components on every store change.
- Tree Shakable. The chunk contains only stores used by components in the chunk.
- Was designed to move logic from components to stores.
- It has good TypeScript support.
It has many smart stores with built-in logic inside:
- Persistent store to save data
to
localStorage
and synchronize changes between browser tabs. - Router store to parse URL and implements SPA navigation.
- I18n library based on stores to make application translatable.
- Query store that helps you with smart remote data fetching.
- Logux Client: stores with WebSocket sync and CRDT conflict resolution.