Data & State Management
Query handles async server state, DB keeps live collections reactive, Store gives local state a tiny core, and AI brings provider work into the same TypeScript-native ecosystem.
Query
cache, refetch, mutate
DB
collections, live queries
Store
immutable state, adapters
AI
providers, tools, streams
Equal parts of the stack
TanStack
Use Query when the data lives somewhere else, needs cache policy, and has to survive loading, retry, mutation, and invalidation without becoming hand-written state machinery.
TanStack
Use DB when the UI wants local-first reads, live query results, optimistic mutations, and a collection model that can reconcile with an API.
TanStack
Use Store when state is already in the client and the winning move is a tiny reactive primitive with adapters instead of another app framework.
TanStack
Use AI when models, tools, streams, and provider differences should be represented in clean TypeScript instead of leaking through the app.
From the team
Solid 2.0 Beta Support in TanStack Router, Start, and Query
TanStack Router, Start, and Query now support the Solid 2.0 beta, so you can try Solid's next major release in real applications today.
Announcing TanStack Query v5
After 91 alpha releases, 35 betas, and 16 release candidates, TanStack Query v5.0.0 is finally here — smaller, better, and more intuitive than ever.
Announcing TanStack Query v4
The next version of TanStack Query is here. The rebranding and monorepo restructuring finally allows us to bring the joy of react-query to other frameworks like Vue, Svelte, and Solid.
TanStack DB 0.6 Now Includes Persistence, Offline Support, and Hierarchical Data
TanStack DB 0.6 adds SQLite-backed persistence across runtimes, hierarchical includes for projecting normalized data into UI-shaped trees, reactive effects, virtual props for sync state, and more.