TanStackDB
BETA

The reactive client-first store for your API

TanStack DB gives you a reactive, client-first store for your API data with collections, live queries and optimistic mutations that keep your UI reactive, consistent and blazing fast 🔥

Get Started
888888214,737
NPM Downloads
3,342
Stars on Github
56
Contributors on GitHub
0
Dependents on GitHub

Collections

Collections are typed sets of objects. Sync or load data into them. Query across them with live queries and write locally to them using optimistic mutations.

Live Queries

Live queries run reactively against and across collections. They're super fast, powered by differential dataflow, with support for joins, filters and aggregates.

Optimistic mutations

Batch and stage instant local changes across collections. Sync transactions to the backend with automatic management of rollbacks and optimistic state.

Blazing fast apps 🔥

Built on a Typescript implementation of differential dataflow, TanStack DB gives you real-time sync, live queries and local writes. With no stale data, super fast re-rendering and sub-millisecond cross-collection queries — even for large complex apps.

🔥 Blazing fast query engine

For sub-millisecond live queries.

âš¡ Instant local writes

With sync and lifecycle support.

🎯 Fine-grained reactivity

To minimize component re-rendering.

🌟 Normalized data

To keep your backend simple and fast.

Partners

Code Rabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
Sentry
Prisma
Strapi
Unkey
UI.dev
Nozzle.io
DB You?
We're looking for TanStack DB Partners to join our mission! Partner with us to push the boundaries of TanStack DB and build amazing things together.
Let's chat
Wow, you've come a long way!
Only one thing left to do...
Get Started!