TanStack/db

The reactive client store for your API.

Hosted by TanStack

View on GitHub ↗Jump to charts ↓Open shareable report →

TanStack/db has 3.5k+ stars and 250+ forks on GitHub, is written in TypeScript, and was last pushed on Oct 18, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on May 25th, 2026
Created on March 11th, 2025
Open Issues & Pull Requests: 108 (+0)
GitHub issues: Enabled
Number of forks: 276
Total Stargazers: 3,946 (+0)
Total Subscribers: 13 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.3 days
Mean response time: 31.7 days
90th percentile: 103.1 days
Tracked items: 514

Maintainer activity

2 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 18, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

How this project is maintained

About 12% of issues opened in the past year have never received a reply. 37% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. 18% of tracked open issues have had no activity in three months. 81% of issues opened in the past year have been closed, leaving a working backlog. Three people close 86% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 95
New in 7 days: 43
Closed in 7 days: 11
Avg open age: 132 days
Stale 30+ days: 51
Stale 90+ days: 42

Recent activity

Opened in 7 days: 39
Closed in 7 days: 11
Comments in 7 days: 4
Events in 7 days: 24

Top labels

  • query-collection (11)
  • bug (7)
  • good first issue (7)
  • question (6)
  • enhancement (5)
  • documentation (4)
  • RFC (3)
  • help wanted (3)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

TanStack DB is a reactive client-side database and store designed to optimize data loading and interaction patterns in modern web applications. Written in TypeScript, it functions as a normalized data layer that sits between your API and application state, enabling sub-millisecond live queries and real-time reactivity. The project is currently in beta status and serves as a complementary tool within the broader TanStack ecosystem of data management libraries.

The core purpose of TanStack DB is to solve three specific problems in application development. First, it eliminates endpoint sprawl and network waterfalls by loading data into normalized collections rather than maintaining separate endpoints for different data shapes. Second, it optimizes client performance through sub-millisecond live queries and real-time reactivity, allowing applications to respond instantly to data changes. Third, it enables instant optimistic writes that remove the network from the critical path of user interactions, making applications feel instantaneous even when backend operations are still in flight.

The repository demonstrates active maintenance and community engagement.

TanStack DB shares contributors with gatsbyjs/gatsby, microsoft/vscode, and surrealdb/surrealdb, indicating involvement from developers working across multiple major open-source projects. This cross-pollination suggests the library benefits from diverse perspectives on database design and client-side data management.

TanStack DB is classified across multiple technical domains including database toolkit, reactive queries, data caching, client-side database, query synchronization, offline support, data modeling, mutation handling, and state management. These classifications reflect the library's comprehensive approach to managing application data on the client side. The project is distributed via npm as the @tanstack/db package and maintains documentation at tanstack.com/db.

The repository actively welcomes community participation through GitHub issues, pull requests, and discussions. The project maintains a Discord community channel for real-time conversation and provides contribution guidelines in a CONTRIBUTING.md file. TanStack DB has established partnerships with CodeRabbit, Cloudflare, ElectricSQL, and Prisma, indicating industry recognition and integration opportunities. The project actively seeks additional partners to expand its ecosystem and capabilities.