Nano Stores
A strong pick. 3rd of 8 signals and reactivity.
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
Overall7.6
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- docs.astro.build/en/recipes/sharing-state-islands: Default recommendation for Astro
- pkgpulse.com/guides/zustand-vs-jotai-vs-nanostores-micro-state-management-2026: Recommended for multi-framework apps; Zustand preferred for pure React
- github releasesLastYear: Steady releases without breaking changes
GPT-6.2 Sol: 8.1, likely 7.0 to 9.0
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.
- docs.astro.build/en/recipes/sharing-state-islands: Shows the clearest use case for choosing Nano Stores today.
- github.com/nanostores/nanostores/releases: Recent releases show continued work on the stable API.
- github.com/preactjs/signals: Documents a peer with automatic dependency tracking.
- npm downloadsLast4Weeks and dependents: High install volume alongside a much smaller indexed dependency count.
Needed by many6.1
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- docs.astro.build/en/recipes/sharing-state-islands: Astro recommends it for state shared between islands
- pkgpulse.com/guides/zustand-vs-jotai-vs-nanostores-micro-state-management-2026: Best fit is Astro and multi-framework apps; less so for pure React
GPT-6.2 Sol: 6.2, likely 5.0 to 7.3
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.
- 2025.stateofjs.com/en-US/usage: Frontend development was the top JavaScript use case, and state management was the second most cited pain point.
- docs.astro.build/en/recipes/sharing-state-islands: Documents cross-framework sharing and shows where built-in stores or signals can cover the same job.
Helps a lot7.2
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.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.
- github.com/nanostores/nanostores/releases: 1.4 to 1.5.5 added batch and eq and fixed many listener and computed edge cases
- pkgpulse.com/guides/zustand-vs-jotai-vs-nanostores-micro-state-management-2026: No devtools; TypeScript support rated good but below Zustand and Jotai
- issoh.co.jp/md/tech/9798: Fits sharing state across frameworks; in React-only apps Zustand gave a smaller bundle
- npm hasTypes: Ships its own types
GPT-6.2 Sol: 7.9, likely 6.9 to 8.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.
- github.com/nanostores/nanostores/blob/1.5.5/README.md: Documents explicit dependencies, lifecycle hooks, batching, and framework adapters.
- github.com/preactjs/signals: Preact Signals automatically tracks reactive reads.
- nano-kit.js.org/getting-started: A competing project's Node.js effects benchmark measured lower latency for both signal peers.
- github.com/nanostores/nanostores/releases/tag/1.5.5: The latest patch adds comments intended to guide coding agents.
Holds up over time7.5
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- github commitsLastYear / releasesLastYear: 122 commits and 12 releases
- github openIssues / closedIssues: 21 open against 126 closed
- bluesky top: Maintainer posts about 1.0, computedAsync and tooling upgrades
- Andrey Sitnik / Evil Martians: The lead maintainer is a known open-source author; most releases come from him
GPT-6.2 Sol: 7.9, likely 6.7 to 8.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.
- github commitsLastYear, releasesLastYear, openIssues, openPullRequests: 122 commits, 12 releases, 21 open issues, and 3 open pull requests.
- github.com/nanostores/nanostores/releases: Several contributors supplied recent fixes, and the same maintainer signed the visible recent tags.
- evilmartians.com/opensource: Lists Nano Stores and its companion packages among the consultancy's projects.
- github.com/nanostores/nanostores/issues/438: The 2.0 milestone includes a proposed change to computed-store subscriptions.
Used widely6.0
How many use it, and is that growing?
Claude Opus 5.5: 6.5, likely 5.5 to 7.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.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 80.8M vs 2.6M, about 31x against a 4.1 median
- dependents: 706 repos and 102 packages; Preact Signals has 443 repos
- answeroverflow.com/m/1346447349035302922: Better Auth's client pulls nanostores in transitively
- bluesky top: Maintainer credits Astro's recommendation for the growth
GPT-6.2 Sol: 5.4, likely 3.9 to 6.9
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.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: The download ratio is well above the catalog baseline.
- dependents and peers dependentRepos: The partial index found 706 repositories and 102 packages depending on Nano Stores.
- github stars and bluesky posts: 7,654 stars and 16 Bluesky links, compared with 23 links for Preact Signals.
- github.com/better-auth/better-auth/blob/main/packages/core/package.json: Better Auth core declares Nano Stores as a peer dependency.
Vouched for6.7
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- docs.astro.build/en/recipes/sharing-state-islands: Astro: "We recommend Nano Stores"
- better-auth.com/docs/integrations/lynx: Better Auth's client uses nanostores for reactive session state
- hackerNews stories: No Hacker News stories
- dev.to/petrtcoi/state-management-with-astro-and-nanostores-5h17: A user's write-up of Astro plus Nano Stores, using persistence
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
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.
- docs.astro.build/en/recipes/sharing-state-islands: Astro's official guide recommends Nano Stores and builds a shared cart with it.
- github.com/better-auth/better-auth/blob/main/packages/better-auth/src/client/session-atom.ts: Better Auth imports Nano Stores atoms and lifecycle hooks for client sessions.
- reddit.com/r/astrojs/comments/1qh0hif/astro_js_for_ecommerce: Developers report successful cart-count updates and visible flicker when restoring state after a page load.
Safe8.6
How safe is it to depend on?
Claude Opus 5.5: 8.5, likely 7.5 to 9.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.
- npm dependencies: 0 runtime dependencies
- advisories total: No known advisories
- scorecard: No Scorecard data
- npm license: MIT
GPT-6.2 Sol: 8.6, likely 7.4 to 9.5
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.
- npm dependencies, npm license, advisories, scorecard: Zero runtime dependencies, MIT license, zero OSV advisories, and no Scorecard result.
- github.com/nanostores/nanostores/blob/1.5.5/.github/workflows/release.yml: The release workflow uses an identity token, pinned actions, and staged npm publishing.
- github.com/nanostores/nanostores/releases/tag/1.5.5: GitHub verifies the tag signature and marks the release immutable.
- github.com/nanostores/nanostores/security/policy: GitHub shows no published repository security policy.
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
- npm downloads, 4 weeks
- 81M ×31 in a year
- GitHub stars
- 7.7k
- Commits, 12 months
- 122
- npm version
- 1.5.5 Oct 2026
- Versions, 12 months
- 12
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (nanostores/nanostores), npm (nanostores), OSV and the OpenSSF Scorecard.
Signals and reactivity
- 8.0Preact Signals
- 7.8Vue Reactivity
- 7.6Nano Stores
- 7.0alien-signals
- 6.1TanStack Store
- 4.1Maverick Signals
- 3.8Signal polyfill
- 2.9S.js