tanstack-db

Installation
SKILL.md

TanStack DB

TanStack DB is a reactive client store for APIs that provides normalized collections, sub-millisecond live queries, and instant optimistic writes. It solves endpoint sprawl and network waterfalls through type-safe data management with automatic updates when underlying data changes.

Core Functionality

TanStack DB enables building reactive data layers through:

  • Normalized Collections: Centralized data management with schema validation and type safety
  • Live Queries: SQL-like queries that automatically update when data changes
  • Optimistic Mutations: Instant UI updates with automatic rollback on errors
  • Storage Integrations: Built-in support for LocalStorage, ElectricSQL, and custom backends

When to Use

Use this skill when working with TanStack DB for building reactive data layers in applications. It provides comprehensive guidance on collections, live queries, mutations, schema validation, error handling, and various integrations including LocalStorage and ElectricSQL.

Module Overview

Related skills

More from caizongyuan/efficientcc

Installs
4
GitHub Stars
1
First Seen
Feb 21, 2026