TanStack/db

The reactive client store for your API.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 29 minutes ago
Added to GitGenius on May 25th, 2026
Created on March 11th, 2025
Open Issues & Pull Requests: 290 (+1)
Number of forks: 254
Total Stargazers: 3,858 (+1)
Total Subscribers: 14 (+0)

Issue Activity (beta)

Open issues: 141
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 160 days
Stale 30+ days: 124
Stale 90+ days: 100

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

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

No issue events were indexed in the last 7 days.

Repository Insights (GitGenius)

Median issue/PR response: 41.8 hours
Mean response time: 16.8 days
90th percentile: 45.7 days
Tracked items: 370

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 70% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 65% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 7% of issues opened in the past year have been closed. Three people close 91% of everything that gets resolved.

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.

db
by
TanStackTanStack/db

Repository Details

Fetching additional details & charts...