RELATIONAL TAGEDGE · COMPATIBILITY MATRIX
COMPATIBLECOMPATIBLE WITH
TanStack/query(@tanstack/vue-query-devtools@6.4.1)
withfacebook/react(v19.3.1)
Constraint: >= 18.0.0TanStack React Query v5 & React 19 Concurrency Matrix
TanStack React Query v5 natively integrates with React 19 Suspense, server prefetching, and useActionState workflows.
Engine: TagEdge HeuristicsUpdated: 2026-11-24Canonical: https://reposen.se/compatibility/tanstack-query-with-react
Compatibility notes and CLI commands are generated automatically by AI without human editorial review on an "as-is" basis. Verify against official upstream documentation before upgrading, see Legal Disclaimer or Report an Error.
Quick Resolution & CLI Installation
npm install @tanstack/react-query@latestArchitectural & Migration Analysis
- QueryClientProvider fully supports React 19 concurrent mode and hydration boundaries.
- Unified object syntax: useQuery({ queryKey, queryFn }) is strictly enforced in v5.
- Experimental useSuspenseQuery primitives provide zero-flicker transitions during React 19 Server Component streaming.
Frequently Asked Questions & Migration Q&A
Is TanStack Query v5 compatible with React 19?
Yes, TanStack Query v5.x has full peer dependency support for React 19.
How do I resolve React 19 peer dependency warnings with TanStack Query?
Ensure you are on @tanstack/react-query version 5.40.0 or higher, where React 19 is declared in peerDependencies.