db-core

Official

Master TanStack DB core: collections & queries.

AuthorTanStack
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TanStack DB core provides the fundamental primitives for building typed client-side data stores, including createCollection, various adapter options, and support for live queries and optimistic mutations.

Core Features & Use Cases

  • Core APIs: createCollection, collection-setup patterns, and mutation handlers with optimistic updates.
  • Live queries and incremental dataflow enable reactive UI across frameworks (React, Vue, Svelte, Solid, Angular).
  • Adapter patterns for REST, ElectricSQL, PowerSync, RxDB, TrailBase, and local adapters enable offline-first and hybrid apps.

Quick Start

Create a basic collection with createCollection and queryCollectionOptions to start experimenting with live queries.

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: db-core
Download link: https://github.com/TanStack/db/archive/main.zip#db-core

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.