react-db

Official

React bindings for TanStack DB with live queries.

AuthorTanStack
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Bind TanStack DB to React applications to enable live, reactive queries that update UI automatically.

Core Features & Use Cases

  • UseLiveQuery, useLiveSuspenseQuery, useLiveInfiniteQuery, and usePacedMutations to build reactive UI with real-time data.
  • Return shape includes data, state, collection, status, isLoading, isReady, isError, and re-exports core APIs from @tanstack/db via @tanstack/react-db.
  • Supports dependency arrays, Suspense + Error Boundaries usage, and cursor-based pagination patterns.

Quick Start

Install @tanstack/react-db and start using useLiveQuery to render live data from your TanStack DB collections.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: react-db
Download link: https://github.com/TanStack/db/archive/main.zip#react-db

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.