TanStack/db

Description: The reactive client store for your API.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 1 hour ago
Added to GitGenius on May 25th, 2026
Created on March 11th, 2025
Open Issues & Pull Requests: 292 (+0)
Number of forks: 245
Total Stargazers: 3,811 (+0)
Total Subscribers: 15 (+0)

Issue Activity (beta)

Open issues: 134
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 190 days
Stale 30+ days: 121
Stale 90+ days: 86

Recent activity

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

Top labels

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

Repository Insights (GitGenius)

Median issue/PR response: 3.6 hours
Mean response time: 7.7 days
90th percentile: 17.0 days
Tracked items: 391

Most active contributors

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. GitGenius tracking shows a median issue and pull request response latency of 3.6 hours across 391 tracked items, indicating responsive project stewardship. The most active contributors include KyleAMathews with 410 tracked events, kevin-dp with 204 events, and samwillis with 163 events. The most frequently tagged issues relate to query-collection functionality with 11 instances, followed by good first issue and bug labels each appearing 7 times, suggesting both active development and an effort to maintain accessibility for new contributors.

The project maintains connections to other significant repositories through overlapping contributors. 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...