TanStack
Query
v5
v5
Search...
+ K
Auto
Log In
TanStack
Start
RC
Docs
Examples
GitHub
Contributors
TanStack
Router
Docs
Examples
GitHub
Contributors
TanStack
Query
Docs
Examples
GitHub
Contributors
TanStack
Table
Docs
Examples
Github
Contributors
TanStack
Form
new
Docs
Examples
Github
Contributors
TanStack
DB
beta
Docs
Github
Contributors
TanStack
Virtual
Docs
Examples
Github
Contributors
TanStack
Pacer
beta
Docs
Examples
Github
Contributors
TanStack
Store
alpha
Docs
Examples
Github
Contributors
TanStack
Devtools
alpha
Docs
Github
Contributors
More Libraries
Maintainers
Partners
Blog
Learn
NEW
Support
Stats
Discord
Merch
GitHub
Ethos
Tenets
Brand Guide
Documentation
Framework
React
Version
Latest
Search...
+ K
Menu
Home
Frameworks
Contributors
Community Resources
GitHub
Discord
Getting Started
Overview
react
Installation
react
Quick Start
react
Devtools
react
Comparison
react
TypeScript
react
GraphQL
react
React Native
react
Guides & Concepts
Important Defaults
react
Queries
react
Query Keys
react
Query Functions
react
Query Options
react
Network Mode
react
Parallel Queries
react
Dependent Queries
react
Background Fetching Indicators
react
Window Focus Refetching
react
Disabling/Pausing Queries
react
Query Retries
react
Paginated Queries
react
Infinite Queries
react
Initial Query Data
react
Placeholder Query Data
react
Mutations
react
Query Invalidation
react
Invalidation from Mutations
react
Updates from Mutation Responses
react
Optimistic Updates
react
Query Cancellation
react
Scroll Restoration
react
Filters
react
Performance & Request Waterfalls
react
Prefetching & Router Integration
react
Server Rendering & Hydration
react
Advanced Server Rendering
react
Caching
react
Render Optimizations
react
Default Query Fn
react
Suspense
react
Testing
react
Does this replace [Redux, MobX, etc]?
react
Migrating to v3
react
Migrating to v4
react
Migrating to v5
react
API Reference
QueryClient
core
QueryCache
core
MutationCache
core
QueryObserver
core
InfiniteQueryObserver
core
QueriesObserver
core
streamedQuery
core
focusManager
core
onlineManager
core
notifyManager
core
timeoutManager
core
useQuery
react
useQueries
react
useInfiniteQuery
react
useMutation
react
useIsFetching
react
useIsMutating
react
useMutationState
react
useSuspenseQuery
react
useSuspenseInfiniteQuery
react
useSuspenseQueries
react
QueryClientProvider
react
useQueryClient
react
queryOptions
react
infiniteQueryOptions
react
mutationOptions
react
usePrefetchQuery
react
usePrefetchInfiniteQuery
react
QueryErrorResetBoundary
react
useQueryErrorResetBoundary
react
hydration
react
ESLint
ESLint Plugin Query
core
Exhaustive Deps
core
Stable Query Client
core
No Rest Destructuring
core
No Unstable Deps
core
Infinite Query Property Order
core
Examples
Simple
react
Basic
react
Basic w/ GraphQL-Request
react
Auto Refetching / Polling / Realtime
react
Optimistic Updates (UI)
react
Optimistic Updates (Cache)
react
Pagination
react
Load-More & Infinite Scroll
react
Infinite query with Max pages
react
Suspense
react
Default Query Function
react
Playground
react
Prefetching
react
Star Wars
react
Rick And Morty
react
Next.js Pages
react
Next.js app with prefetching
react
Next.js app with streaming
react
React Native
react
React Router
react
Offline Queries and Mutations
react
Algolia
react
Shadow DOM
react
Devtools Embedded Panel
react
Chat example (streaming)
react
Plugins
persistQueryClient
react
createSyncStoragePersister
react
createAsyncStoragePersister
react
broadcastQueryClient (Experimental)
react
createPersister (Experimental)
react
Framework
React
Version
Latest
Menu
Home
Frameworks
Contributors
Community Resources
GitHub
Discord
Getting Started
Overview
react
Installation
react
Quick Start
react
Devtools
react
Comparison
react
TypeScript
react
GraphQL
react
React Native
react
Guides & Concepts
Important Defaults
react
Queries
react
Query Keys
react
Query Functions
react
Query Options
react
Network Mode
react
Parallel Queries
react
Dependent Queries
react
Background Fetching Indicators
react
Window Focus Refetching
react
Disabling/Pausing Queries
react
Query Retries
react
Paginated Queries
react
Infinite Queries
react
Initial Query Data
react
Placeholder Query Data
react
Mutations
react
Query Invalidation
react
Invalidation from Mutations
react
Updates from Mutation Responses
react
Optimistic Updates
react
Query Cancellation
react
Scroll Restoration
react
Filters
react
Performance & Request Waterfalls
react
Prefetching & Router Integration
react
Server Rendering & Hydration
react
Advanced Server Rendering
react
Caching
react
Render Optimizations
react
Default Query Fn
react
Suspense
react
Testing
react
Does this replace [Redux, MobX, etc]?
react
Migrating to v3
react
Migrating to v4
react
Migrating to v5
react
API Reference
QueryClient
core
QueryCache
core
MutationCache
core
QueryObserver
core
InfiniteQueryObserver
core
QueriesObserver
core
streamedQuery
core
focusManager
core
onlineManager
core
notifyManager
core
timeoutManager
core
useQuery
react
useQueries
react
useInfiniteQuery
react
useMutation
react
useIsFetching
react
useIsMutating
react
useMutationState
react
useSuspenseQuery
react
useSuspenseInfiniteQuery
react
useSuspenseQueries
react
QueryClientProvider
react
useQueryClient
react
queryOptions
react
infiniteQueryOptions
react
mutationOptions
react
usePrefetchQuery
react
usePrefetchInfiniteQuery
react
QueryErrorResetBoundary
react
useQueryErrorResetBoundary
react
hydration
react
ESLint
ESLint Plugin Query
core
Exhaustive Deps
core
Stable Query Client
core
No Rest Destructuring
core
No Unstable Deps
core
Infinite Query Property Order
core
Examples
Simple
react
Basic
react
Basic w/ GraphQL-Request
react
Auto Refetching / Polling / Realtime
react
Optimistic Updates (UI)
react
Optimistic Updates (Cache)
react
Pagination
react
Load-More & Infinite Scroll
react
Infinite query with Max pages
react
Suspense
react
Default Query Function
react
Playground
react
Prefetching
react
Star Wars
react
Rick And Morty
react
Next.js Pages
react
Next.js app with prefetching
react
Next.js app with streaming
react
React Native
react
React Router
react
Offline Queries and Mutations
react
Algolia
react
Shadow DOM
react
Devtools Embedded Panel
react
Chat example (streaming)
react
Plugins
persistQueryClient
react
createSyncStoragePersister
react
createAsyncStoragePersister
react
broadcastQueryClient (Experimental)
react
createPersister (Experimental)
react
TanStack Query Maintainers and Contributors
React
Solid
Architecture
Core API
Documentation
Tanner Linsley
Creator
React
Core API
TypeScript
Documentation
Dominik Dorfmeister
Maintainer
React
Svelte
Architecture
Lachlan Collins
Maintainer
React
Data Management
SSR
Hydration
Fredrik Höglund
Maintainer
React
TypeScript
Backport
Test
Jonghyeon Ko
Maintainer
Angular
React
Architecture
Developer Experience
TypeScript
Reactivity
Arnoud de Vries
Maintainer
Solid
Dev Tools
Aryan Deora
Maintainer
Vue
Damian Osipiuk
Maintainer
eslint plugin
Eliya Cohen
Maintainer
All-Time Contributors
Powered by
contrib.rocks
View all contributors on GitHub
Learn about TanStack Ads
Hide Ads
Home
Partners
Become a Partner
Learn about TanStack Ads
Hide Ads
Want to Skip the Docs?
Query.gg - The Official React Query Course
Black Friday Sale
Get 50% off through December 6th
0
5
days
:
1
9
hours
:
3
7
minutes
Learn More