Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides reactive client data layers with TanStack DB: collections, live queries, optimistic mutations, and ElectricSQL.
Use this skill ↓55% 95%+41 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 12 of 22 without it.
3 of 3 safety checks passed
Not used yet
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.
TanStack DB enables building reactive data layers through:
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.
createCollection, useLiveQuery, useLiveSuspenseQuery, queryCollectionOptions, electricCollectionOptions, localStorageCollectionOptionsreferences/TanStack DB Overview.mdliveQueryCollectionOptions, from, where, select, join, groupBy, findOne, orderBy, limitreferences/TanStack DB Live Queries.mdcollection.insert, collection.update, collection.delete, createOptimisticAction, createTransactionreferences/TanStack DB Mutations.mdz.transform(), z.default(), SchemaValidationErrorreferences/Schema Validation and Type Transformations.mdNext to this one in the catalogue, plus more from the same author.