FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Original HTTPS Page]

Nano Stores · GitHub

Nano Stores

A tiny state manager with many atomic tree-shakable stores

A tiny state manager for React, React Native, Preact, Vue, Svelte, Solid, Lit, Angular, Alpine, 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:

  • Async computed store to fetch data or create chains of async operations.
  • Persistent store to save data to localStorage and synchronize changes between browser tabs.
  • Router store to parse URL and implements SPA navigation.
  • Deep Map store to put big nested object/arrays and change keys by path.
  • 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.
  • Immer plugin to enable immutable state updates using Immer.

Pinned Loading

  1. nanostores nanostores Public

    A tiny (340 bytes) state manager for React/RN/Preact/Vue/Svelte with many atomic tree-shakable stores

    TypeScript 7.6k 160

Repositories

Loading
Type
Select type
All Public Sources Forks Archived Mirrors Templates
Language
Select language
All JavaScript TypeScript
Sort
Select order
Last updated Name Stars
Showing 10 of 19 repositories

Top languages

Loading…

Most used topics

Loading…


Back | FazBrowse Home | New Git URL