TanStack/db

The reactive client store for your API.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 37 minutes ago
Added to GitGenius on May 25th, 2026
Created on March 11th, 2025
Open Issues & Pull Requests: 281 (+0)
Number of forks: 258
Total Stargazers: 3,883 (+0)
Total Subscribers: 14 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.1 days
Mean response time: 17.9 days
90th percentile: 51.5 days
Tracked items: 386

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 68% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. 61% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 8% of issues opened in the past year have been closed. Three people close 83% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 136
New in 7 days: 5
Closed in 7 days: 11
Avg open age: 167 days
Stale 30+ days: 118
Stale 90+ days: 96

Recent activity

Opened in 7 days: 4
Closed in 7 days: 11
Comments in 7 days: 11
Events in 7 days: 33

Top labels

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

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.