Skip to content
@nanostores

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 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.

Pinned Loading

  1. nanostores nanostores Public

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

    TypeScript 5.7k 111

Repositories

Showing 10 of 13 repositories
  • query Public

    ⚡️ Powerful data fetching library for Nano Stores. TS/JS. Framework agnostic.

    nanostores/query’s past year of commit activity
    TypeScript 245 MIT 11 11 0 Updated Jan 13, 2025
  • react Public

    React integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores

    nanostores/react’s past year of commit activity
    TypeScript 93 MIT 17 3 2 Updated Dec 18, 2024
  • vue Public

    Vue integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores

    nanostores/vue’s past year of commit activity
    JavaScript 55 MIT 6 1 1 Updated Nov 24, 2024
  • router Public

    A tiny (673 bytes) router for Nano Stores state manager

    nanostores/router’s past year of commit activity
    TypeScript 254 MIT 19 3 0 Updated Oct 20, 2024
  • angular Public

    Angular integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores.

    nanostores/angular’s past year of commit activity
    TypeScript 9 MIT 1 0 0 Updated Oct 7, 2024
  • solid Public

    Global state management in Solid using nanostores.

    nanostores/solid’s past year of commit activity
    TypeScript 75 MIT 10 2 0 Updated Sep 27, 2024
  • nanostores Public

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

    nanostores/nanostores’s past year of commit activity
    TypeScript 5,748 MIT 111 23 2 Updated Sep 10, 2024
  • preact Public

    Preact integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores

    nanostores/preact’s past year of commit activity
    TypeScript 15 MIT 6 2 1 Updated Aug 20, 2024
  • lit Public

    Lit integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores

    nanostores/lit’s past year of commit activity
    TypeScript 31 MIT 3 3 0 Updated Aug 15, 2024
  • logger Public

    Pretty logger of lifecycles and changes for Nano Stores state manager

    nanostores/logger’s past year of commit activity
    TypeScript 74 MIT 1 1 1 Updated Aug 6, 2024

Top languages

Loading…

Most used topics

Loading…

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy