# @tanstack/store

> Framework agnostic type-safe store w/ reactive framework adapters

Latest version **0.11.1** (published 2026-08-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tanstack/store
pnpm add @tanstack/store
yarn add @tanstack/store
bun add @tanstack/store
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.11.1 |
| Published | 2026-08-05 |
| First published | 2023-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 120.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 894 |
| Author | Tanner Linsley |
| Maintainers | tannerlinsley, alemtuzlak, kevinvandy |
| Keywords | store, typescript |

## Links

- npm: https://www.npmjs.com/package/@tanstack/store
- Repository: https://github.com/TanStack/store
- Homepage: https://tanstack.com/store
- Funding: https://github.com/sponsors/tannerlinsley
- npm.io page: https://npm.io/package/@tanstack/store

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.11.1 (latest) — 2026-08-05
- 0.0.1-beta.174 (beta) — 2023-08-30
- 0.11.0 — 2026-04-17
- 0.10.0 — 2026-04-10
- 0.9.3 — 2026-03-25
- 0.9.2 — 2026-03-07
- 0.9.1 — 2026-02-17
- 0.9.0 — 2026-02-17
- 0.8.1 — 2026-02-15
- 0.8.0 — 2025-10-11
- 0.7.7 — 2025-09-20
- 0.7.6 — 2025-09-20
- 0.7.5 — 2025-09-08
- 0.7.4 — 2025-08-22
- 0.7.2 — 2025-07-06
- … 59 more at https://npm.io/package/@tanstack/store/versions

## README

<img src="https://static.scarf.sh/a.png?x-pxid=d988eb79-b0fc-4a2b-8514-6a1ab932d188" />

<div align="center">
  <picture>
    <source
      media="(prefers-color-scheme: dark)"
      srcset="https://tanstack.com/api/readme/store.png?theme=dark"
    />
    <source
      media="(prefers-color-scheme: light)"
      srcset="https://tanstack.com/api/readme/store.png"
    />
    <img
      src="https://tanstack.com/api/readme/store.png"
      alt="TanStack Store"
      width="900"
    />
  </picture>
</div>

<br />

<div align="center">
<a href="https://npmjs.com/package/@tanstack/store" target="\_parent">
<img alt="npm downloads" src="https://img.shields.io/npm/dm/@tanstack/store.svg" />
</a>
<a href="https://github.com/tanstack/store" target="\_parent">
<img alt="github stars" src="https://img.shields.io/github/stars/tanstack/store.svg?style=social&label=Star" />
</a>
<a href="https://bundlephobia.com/result?p=@tanstack/store" target="\_parent">
<img alt="bundle size" src="https://badgen.net/bundlephobia/minzip/@tanstack/store" />
</a>
</div>

<div align="center">
<a href="#badge">
<img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
</a>
<a href="https://bestofjs.org/projects/tanstack-store"><img src="https://img.shields.io/endpoint?url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=TanStack%store%26since=daily" alt="Best of JS" /></a>
<a href="https://twitter.com/tan_stack" target="\_parent">
<img alt="" src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social&label=Follow @TanStack" />
</a>
</div>

<div align="center">

### [Become a Sponsor!](https://github.com/sponsors/tannerlinsley/)

</div>

# TanStack Store

An immutable, reactive data store with framework adapters that powers the core of the TanStack ecosystem.

- Fine‑grained updates for performant state management
- Flexible primitives for building custom state logic
- Works across frameworks like React, Solid, Vue, Angular, Svelte, Lit & Octane
- Lightweight and standalone — use it in any app or as a library foundation

### <a href="https://tanstack.com/store">Read the docs →</b></a>

## Get Involved

- We welcome issues and pull requests!
- Participate in [GitHub discussions](https://github.com/TanStack/store/discussions)
- Chat with the community on [Discord](https://discord.com/invite/WrRKjPJ)
- See [CONTRIBUTING.md](./CONTRIBUTING.md) for setup instructions

## Partners

<table align="center">
  <tr>
    <td>
        <a href="https://www.coderabbit.ai/?via=tanstack&dub_id=aCcEEdAOqqutX6OS">
			<picture>
			  <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/coderabbit-dark-CMcuvjEy.svg" height="40" />
			  <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/coderabbit-light-DVMJ2jHi.svg" height="40" />
			  <img src="https://tanstack.com/assets/coderabbit-light-DVMJ2jHi.svg" height="40" alt="CodeRabbit" />
			</picture>        
		</a>
    </td>
    <td padding="20">
      <a href="https://www.cloudflare.com?utm_source=tanstack">
         <picture>
		  <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/cloudflare-white-DQDB7UaL.svg" height="60" />
		  <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/cloudflare-black-CPufaW0B.svg" height="60" />
		  <img src="https://tanstack.com/assets/cloudflare-black-CPufaW0B.svg" height="60" alt="Cloudflare" />
		</picture>
      </a>
    </td>
  </tr>
</table>

<div align="center">
<img src="./media/partner_logo.svg" alt="Store & you?" height="65">
<p>
We're looking for TanStack Store Partners to join our mission! Partner with us to push the boundaries of TanStack Store and build amazing things together.
</p>
<a href="mailto:partners@tanstack.com?subject=TanStack Store Partnership"><b>LET'S CHAT</b></a>
</div>

## Explore the TanStack Ecosystem

- <a href="https://github.com/tanstack/config"><b>TanStack Config</b></a> – Tooling for JS/TS packages
- <a href="https://github.com/tanstack/db"><b>TanStack DB</b></a> – Reactive sync client store
- <a href="https://github.com/tanstack/devtools"><b>TanStack DevTools</b></a> – Unified devtools panel
- <a href="https://github.com/tanstack/form"><b>TanStack Form</b></a> – Type‑safe form state
- <a href="https://github.com/tanstack/pacer"><b>TanStack Pacer</b></a> – Debouncing, throttling, batching
- <a href="https://github.com/tanstack/query"><b>TanStack Query</b></a> – Async state & caching
- <a href="https://github.com/tanstack/ranger"><b>TanStack Ranger</b></a> – Range & slider primitives
- <a href="https://github.com/tanstack/router"><b>TanStack Router</b></a> – Type‑safe routing, caching & URL state
- <a href="https://github.com/tanstack/router"><b>TanStack Start</b></a> – Full‑stack SSR & streaming
- <a href="https://github.com/tanstack/table"><b>TanStack Table</b></a> – Headless datagrids
- <a href="https://github.com/tanstack/virtual"><b>TanStack Virtual</b></a> – Virtualized rendering

… and more at <a href="https://tanstack.com"><b>TanStack.com »</b></a>

<!-- Use the force, Luke! -->

---
_Source: https://npm.io/package/@tanstack/store · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
