nanostores

v1.1.0 MIT

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

Weekly Downloads
1.4M
Stars
7.0K
Forks
138
Open Issues
29
Gzip Size
2.0 kB
Unpacked Size
48.2 kB
Dependencies
1

Download Trends

Download trends for nanostores01.2M2.3M3.5M4.6MFeb 25May 25Aug 25Nov 25Feb 26
nanostores

AI Insights

Nanostores is a lightweight state manager designed for use with popular front-end frameworks like React, Preact, Vue, and Svelte. At only 265 bytes, it offers atomic tree-shakable stores that allow developers to efficiently manage application state.

When to use

  • When you need a minimal footprint solution for state management.
  • If your application is built with React, Preact, Vue, or Svelte.
  • When you want to optimize performance with tree-shakable stores.

When NOT to use

  • If your application requires a more robust state management solution with complex features.
  • When working on a large-scale application where scalability is a primary concern.
  • If you need built-in middleware or side-effect handling capabilities.

Alternatives

Categories