Post
Multiple components, same query? ONE network request. Complex joins? Minimal batched requests. Already-loaded rows? Reused automatically. Fewer total requests than custom APIs, with better cache utilization.
0 reposts4 likes
Designed for your existing REST, GraphQL, or tRPC APIs. No backend migration. Bonus: Works with sync engines (@electric-sql.com, Trailbase, PowerSync) for real-time updates with near-zero incremental network cost.
Blog post tanstack.com/blog/tanstac...
tanstack.comTanStack DB 0.5 — Query-Driven Sync | TanStack BlogYou don't need a new API for every component. With 0.5, the component's query is the API call. tsx // Your component's query... const { data: projectTodos } = useLiveQuery((q) = q .from({ todos }) .jo...