tanstack-db

Normalize API data into reactive collections with live queries and optimistic mutations.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/iEnergyy/opsflow --skill tanstack-db-ienergyy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tanstack-db
Source: https://github.com/iEnergyy/opsflow/tree/main/.agents/skills/tanstack-db
Command: npx skills add https://github.com/iEnergyy/opsflow --skill tanstack-db-ienergyy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Normalize and manage client-side data with a reactive, live-updating store that reduces boilerplate and keeps UI in sync with server data.

Core Features & Use Cases

  • Normalized collections to wrap and standardize API sources.
  • Live queries for automatic UI updates as data changes.
  • Optimistic mutations for instant feedback with safe rollback. Use cases include building real-time dashboards, dynamic lists, and forms that stay consistent with backend data.

Quick Start

Instantiate a collection against your API and wire it to a React component to start seeing live updates immediately.

Frequently Asked Questions about tanstack-db

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage normalized API collections with live queries in React?

A reactive client-first data store normalizes API data into collections with live queries, triggering automatic UI updates as data changes. This reduces boilerplate and keeps your React components in sync with server data.

What is the best way to implement optimistic mutations for instant UI feedback?

The best way to implement optimistic mutations is using a reactive store that applies temporary UI changes instantly and provides safe rollback mechanisms. This ensures instant feedback while maintaining consistency with backend data.

Can I integrate TanStack Query with a client-first data store?

Yes, you can integrate TanStack Query with a reactive client-first data store. This combination supports modular collection creation and enables eager, on-demand, and progressive sync modes for efficient server syncing across your frontend apps.

How do I build real-time dashboards with offline support using React?

You can build real-time dashboards with offline support in React by utilizing a reactive client-first data store that normalizes API data into collections. This architecture enables live queries, automatic UI updates, and efficient server syncing when connectivity resumes.

What are the limitations of using a reactive client-first store for frontend data sync?

Limitations of a reactive client-first store for frontend data sync depend on your chosen sync mode: eager, on-demand, or progressive. You must evaluate these modes to ensure modular collections align with specific offline support and real-time UI update requirements.