FindSoftware

TanStack DB

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

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 lists those packages next to the collection and persistence packages.

Worth knowing

The README says the project is in beta, and the overview includes a migration guide for the release candidate.

Identity

Status
Active
Maintainer
Kyle Mathews3
First release
20255

Rendering and deploy

Install with
npm9

Releases

Current major version
Pre-1.05
Last release
2026-10-216

Adoption

GitHub stars
3,9871
npm downloads a week
1,877,5317
Contributors
958

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/TanStack/db
  2. 2026-11-16: links, Categories, Built on
    tanstack.com/db/latest/docs/overview
  3. 2026-11-16: Maintainer
    raw.githubusercontent.com/TanStack/db/main/LICENSE
  4. 2026-11-16: Categories
    raw.githubusercontent.com/TanStack/db/main/README.md
  5. 2026-11-16: First release, Current major version
    api.github.com/repos/TanStack/db/releases
  6. 2026-11-16: Last release
    registry.npmjs.org/@tanstack/db
  7. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@tanstack/db
  8. 2026-11-16: Contributors
    api.github.com/repos/TanStack/db/contributors?per_page=1
  9. 2026-11-16: Install with
    tanstack.com/db/latest/docs/installation

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON