# TanStack DB

Reactive client store that loads API data into typed collections and queries it with live queries and optimistic mutations.


Source: https://findsoftware.frbit.cloud/tanstack-db/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://tanstack.com/db
- repository: https://github.com/TanStack/db
- docs: https://tanstack.com/db/latest/docs/overview
- x: https://x.com/tan_stack
- bluesky: https://bsky.app/profile/tanstack.com
- discord: https://discord.com/invite/WrRKjPJ
- forum: https://github.com/TanStack/db/discussions
- youtube: https://youtube.com/@tan_stack

### Identity

- status: active
- maintainer: Kyle Mathews
- maintainerType: unknown
- parent: unknown
- firstRelease: 2025
- hqCountry: unknown

### Kind

- category: library
- hosting: unknown
- language: javascript
- runtime: unknown
- runtimeMin: unknown
- basedOn: tanstack-query

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 0
- latestReleaseDate: 2026-10-21

### Adoption

- githubStargazers: 3987
- packagistDownloads: not applicable
- npmWeeklyDownloads: 1877531
- contributors: 95
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/TanStack/db (read 2026-11-16)
- urls: https://api.github.com/repos/TanStack/db (read 2026-11-16)
- urls: https://tanstack.com/db/latest/docs/overview (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/TanStack/db/main/LICENSE (read 2026-11-16)
- category: https://raw.githubusercontent.com/TanStack/db/main/README.md (read 2026-11-16)
- category: https://tanstack.com/db/latest/docs/overview (read 2026-11-16)
- basedOn: https://tanstack.com/db/latest/docs/overview (read 2026-11-16)
- language: https://api.github.com/repos/TanStack/db (read 2026-11-16)
- license: https://api.github.com/repos/TanStack/db (read 2026-11-16)
- firstRelease: https://api.github.com/repos/TanStack/db/releases (read 2026-11-16)
- currentMajor: https://api.github.com/repos/TanStack/db/releases (read 2026-11-16)
- latestReleaseDate: https://registry.npmjs.org/@tanstack/db (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@tanstack/db (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/TanStack/db (read 2026-11-16)
- contributors: https://api.github.com/repos/TanStack/db/contributors?per_page=1 (read 2026-11-16)
- installMethod: https://tanstack.com/db/latest/docs/installation (read 2026-11-16)

## Notes

TanStack DB is a client-side store that holds API data in typed collections. Components read it through live queries, which update affected results as the underlying records change. Writes apply to the collection at once and are rolled back if the handler you define fails to persist them to the server. The project describes itself as an extension of TanStack Query that adds collections, live queries and optimistic mutations. Collections can be filled from TanStack Query, from a sync engine such as ElectricSQL or PowerSync, or from browser storage.

Each framework has its own npm package that re-exports the core package, so the core API is available from React, Vue, Svelte, Solid, Preact and Angular alike. The [installation guide](https://tanstack.com/db/latest/docs/installation) lists those packages next to the collection and persistence packages.

## Worth knowing

The README says the project is in beta, and the [overview](https://tanstack.com/db/latest/docs/overview) includes a migration guide for the release candidate.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
