# Nano Stores: 7.6 out of 10

A strong pick. 3rd of 8 in [Signals and reactivity](https://elestia.ai/opensource/signals/index.md).

Nano Stores is a tiny store library with no dependencies. Its atoms, maps and computed stores work the same way in React, Vue, Svelte, Solid, Preact, Lit and plain JS. It is a strong, well-maintained pick for sharing state across frameworks, especially in Astro. For automatic fine-grained signals inside one framework, Preact Signals or alien-signals fit better.

**Best for:** Astro and multi-framework projects that want small stores, kept outside components, that every UI framework can read.

## Scores

- **Overall: 7.6** (likely 6.5 to 8.5)
  - Claude Opus 5.5 (7.0): It is clearly the best pick for state shared across frameworks and in Astro. It is tiny, safe, actively maintained and endorsed by Astro. It is not a fine-grained signal engine, and inside one framework Preact Signals, Vue Reactivity or alien-signals do automatic reactivity better. That keeps it a strong niche pick rather than the category default.
  - GPT-6.2 Sol (8.1): Nano Stores is a strong pick for new apps that need small, typed stores shared across frameworks. Active maintenance and Astro's recommendation make it especially suitable for client-side islands. Preact Signals is a better fit for teams that want automatic dependency tracking, and download growth leaves the scale of direct adoption uncertain.
- **Needed by many: 6.1** (likely 5.0 to 7.2)
  - Claude Opus 5.5 (6.0): Shared reactive state is needed in most front-end apps, and this library is not tied to one framework. Its main draw is for multi-framework and Astro projects. Teams on a single framework often use that framework's own state tools, which keeps the score in the middle.
  - GPT-6.2 Sol (6.2): Shared reactive state is a common frontend need, and Nano Stores can serve several major frameworks. The strongest fit is state shared across component boundaries. The survey measures how common frontend work and state management are, so demand for a standalone store is harder to estimate.
- **Helps a lot: 7.2** (likely 6.2 to 8.2)
  - Claude Opus 5.5 (6.5): The API is small and well typed, and it covers atoms, maps, computed stores, effect(), batch(), lifecycle hooks and custom equality. The 2025-2026 releases fixed many edge cases in listenKeys, batch and cleanup. It is a store library rather than a fine-grained signal engine: dependencies are declared by hand, and devtools are limited. Preact Signals and alien-signals do automatic tracking better.
  - GPT-6.2 Sol (7.9): Version 1.5.5 has a small, well-documented TypeScript API for atoms, keyed updates, effects, and batching. Explicit source lists make subscriptions easy to trace and add work when dependencies change at runtime. Preact Signals and alien-signals led one Node.js effects benchmark, and the evidence is thinner for app-level performance and coding-agent accuracy.
- **Holds up over time: 7.5** (likely 6.4 to 8.5)
  - Claude Opus 5.5 (7.0): The project is active: 122 commits and 12 releases in the last year, the latest in October 2026, and 1.0 shipped in 2025 with a stable API. Only 21 issues are open. One lead maintainer does most of the work, though 67 people have contributed. Astro and Better Auth depend on it, which pushes the ecosystem towards it, but the reliance on one maintainer holds the score down.
  - GPT-6.2 Sol (7.9): Twelve releases and 122 commits over the past year show active maintenance, with several contributors fixing listener and type regressions. Evil Martians lists Nano Stores among its open-source projects, and maintainers are discussing subscription changes for 2.0. Recent release tags share one signer, and the number of people who can approve releases is unclear.
- **Used widely: 6.0** (likely 4.7 to 7.2)
  - Claude Opus 5.5 (6.5): Downloads rose about 31x in a year, from 2.6M to 80.8M per 4 weeks, far above the 4.1 median. Much of that is transitive installs through Better Auth's client and similar tools, not direct choices. Its 706 dependent repos beat Preact Signals' 443, and Astro's recommendation brings real direct use, which points to tens of thousands of direct choices that are growing.
  - GPT-6.2 Sol (5.4): Four-week downloads rose from 2.6 million to 80.8 million, about 31 times year over year against the catalog median of 4.1 times. The index found 706 dependent repositories, ahead of Preact Signals at 443 and TanStack Store at 29. Better Auth brings the package into downstream projects, so the download surge leaves the number of teams choosing Nano Stores directly uncertain.
- **Vouched for: 6.7** (likely 5.6 to 7.7)
  - Claude Opus 5.5 (6.0): Astro's official docs recommend it, and Better Auth builds its client on it. Both are current endorsements from projects with something to lose. Independent write-ups are mostly blog posts and comparison sites, with no survey data or benchmarks behind it, and there are no Hacker News stories.
  - GPT-6.2 Sol (7.3): Astro recommends Nano Stores for sharing client state across islands, and Better Auth uses it for client session state. Astro developers report working cart updates and describe hydration friction when state must survive page loads. Those examples give direct evidence for specific uses, while current project-wide satisfaction data is sparse.
- **Safe: 8.6** (likely 7.5 to 9.5)
  - Claude Opus 5.5 (8.5): It has no runtime dependencies, an MIT licence and no known advisories. The code is very small, so the attack surface is minimal. There is no OpenSSF Scorecard result, and publishing rests mostly on one maintainer, so the range stays a little wide.
  - GPT-6.2 Sol (8.6): The MIT-licensed core has zero runtime dependencies, and the OSV snapshot lists no advisories. GitHub Actions stages the npm package, and version 1.5.5 has a signed tag and an immutable GitHub release. The missing Security Policy and OpenSSF Scorecard limit confidence in the project's reporting process and repository controls.

## Good

- It has no runtime dependencies and adds very little to the bundle, and unused stores are tree-shaken.
- Official bindings and add-ons (persistent, router, query, i18n) cover React, Vue, Svelte, Solid, Preact, Lit and Angular.
- Astro docs recommend it for sharing state between islands, and Better Auth's client builds on it.
- Releases are frequent and careful: 1.3 to 1.5 added batch(), eq and cross-bundle sync without breaking changes.

## Bad

- Computed stores list their dependencies by hand, so it is less automatic than signal libraries that track what each computation reads.
- Devtools and debugging support are thinner than in Zustand or Vue's reactivity.
- In React-only apps, Zustand or Jotai have bigger ecosystems and more community answers.
- One lead maintainer does most of the work and most releases.

## The numbers

- Downloads, 4 weeks: 81M
- In a year: ×31
- GitHub stars: 7.7k
- Commits, 12 months: 122
- Last npm release: Oct 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/nanostores/nanostores
- npm: https://www.npmjs.com/package/nanostores

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
