tanstack-db Documentation
TanStack DB documentation. Use for reactive client-side collections, live queries, optimistic mutations and transactions, and sync-backed collections (Electric, TanStack Query, PowerSync, RxDB, TrailBase, localStorage).
Quick Reference
| Task |
Entry Point |
| Getting started |
contents/quick-start.md, contents/overview.md |
| Installation |
contents/installation.md |
| Live queries |
contents/guides/live-queries.md |
| Mutations and transactions |
contents/guides/mutations.md |
| Collection types / sync backends |
contents/collections/ |
| React / Preact hooks |
contents/framework/react/overview.md, contents/framework/preact/overview.md |
| API reference |
contents/reference/index.md |
| Error codes and handling |
contents/errors.md, contents/guides/error-handling.md |
When to use
Use this skill when the user asks about:
- Creating collections and syncing them with Electric, TanStack Query, PowerSync, RxDB, TrailBase, Convex, IndexedDB or localStorage
- Live queries: joins, filtering, aggregates, ordering
- Optimistic mutations, transactions, offline transactions
- Schemas, SSR/hydration, SQLite persistence
- React or Preact hooks such as useLiveQuery
- TanStack DB API signatures and error codes
How to find information
- First, read
TOC.md for complete file listing organized by directory
- Identify relevant section based on user's question
- Read specific files for details
TOC.md contains all files organized by directory - always check it first.
1---2name: olore-tanstack-db-latest3description: Local tanstack-db documentation reference (latest). TanStack DB documentation. Use for reactive client-side collections, live queries, optimistic mutations and transactions, and sync-backed collections (Electric, TanStack Query, PowerSync, RxDB, TrailBase, localStorage).4metadata:5 source: https://skillmd.com/skills/olorehq/olore-tanstack-db-latest6---78# tanstack-db Documentation910TanStack DB documentation. Use for reactive client-side collections, live queries, optimistic mutations and transactions, and sync-backed collections (Electric, TanStack Query, PowerSync, RxDB, TrailBase, localStorage).1112## Quick Reference1314| Task | Entry Point |15|------|-------------|16| Getting started | `contents/quick-start.md`, `contents/overview.md` |17| Installation | `contents/installation.md` |18| Live queries | `contents/guides/live-queries.md` |19| Mutations and transactions | `contents/guides/mutations.md` |20| Collection types / sync backends | `contents/collections/` |21| React / Preact hooks | `contents/framework/react/overview.md`, `contents/framework/preact/overview.md` |22| API reference | `contents/reference/index.md` |23| Error codes and handling | `contents/errors.md`, `contents/guides/error-handling.md` |2425## When to use2627Use this skill when the user asks about:28- Creating collections and syncing them with Electric, TanStack Query, PowerSync, RxDB, TrailBase, Convex, IndexedDB or localStorage29- Live queries: joins, filtering, aggregates, ordering30- Optimistic mutations, transactions, offline transactions31- Schemas, SSR/hydration, SQLite persistence32- React or Preact hooks such as useLiveQuery33- TanStack DB API signatures and error codes3435## How to find information36371. **First**, read `TOC.md` for complete file listing organized by directory382. Identify relevant section based on user's question393. Read specific files for details4041**TOC.md contains all files organized by directory - always check it first.**