50,546
stars
+2
4,226
forks
247
watchers
6,050
prs
2,405
issues
1,000
releases
3,602
discussions
README
Become a Sponsor!
TanStack Query
An async state management library built to simplify fetching, caching, synchronizing, and updating server state.
- Protocol‑agnostic fetching (REST, GraphQL, promises, etc.)
- Caching, refetching, pagination & infinite scroll
- Mutations, dependent queries & background updates
- Prefetching, cancellation & React Suspense support
Read the docs →
Get Involved
- We welcome issues and pull requests!
- Participate in GitHub discussions
- Chat with the community on Discord
- See CONTRIBUTING.md for setup instructions
Partners
We're looking for TanStack Query Partners to join our mission! Partner with us to push the boundaries of TanStack Query and build amazing things together.
LET'S CHAT
Explore the TanStack Ecosystem
- TanStack Config – Tooling for JS/TS packages
- TanStack DB – Reactive sync client store
- TanStack DevTools – Unified devtools panel
- TanStack Form – Type‑safe form state
- TanStack Pacer – Debouncing, throttling, batching
- TanStack Query – Async state & caching
- TanStack Ranger – Range & slider primitives
- TanStack Router – Type‑safe routing, caching & URL state
- TanStack Start – Full‑stack SSR & streaming
- TanStack Store – Reactive data store
- TanStack Table – Headless datagrids
- TanStack Virtual – Virtualized rendering
… and more at TanStack.com »Top issues
#9399Hydration error using loading state of useQuery when prefetching20 comments · 2025-07-10#8703Stable release of `@tanstack/angular-query` and `@tanstack/angular-query-devtools` packages19 comments · 2025-02-26#3741Query keys with object property set to undefined are not considered equal to missing property during invalidation15 comments · 2022-06-23#7522[Bug?]: Result type of combine works not as expected12 comments · 2024-06-06#7488[angular-query] Accessing `.data` kicks off the `CreateQueryOptions` function11 comments · 2024-05-28#2142broadcastQueryClient doesn't keep cache between tabs10 comments · 2021-04-17#8713Angular: publish stable package and deprecate experimental package8 comments · 2025-02-26#7513Bug: Dependent Query doesn't work with solid-js SSR8 comments · 2024-06-04
Discussions
#12554Would TanStack Query try a pre-release check for TypeScript regressions?0 comments · 2026-11-08#12514Knovum: Local-First Desktop AI Workspace Powered by @tanstack/vue-query & Tauri 20 comments · 2026-11-03#12510Show & Tell: tanstack-fetch — a typed fetch client shaped for queryFn (typed errors, single-flight refresh, SSE with auth)0 comments · 2026-11-03#12422Show & Tell: WikiMasters — Dynamic Card State Caching & Optimistic Updates with TanStack Query0 comments · 2026-10-27#12063effect-api-query: Effect RPC and HttpApi with TanStack Query0 comments · 2026-10-17#11923Video: optimistic updates with useMutation, including rollback and the refetch overwrite1 comments · 2026-10-07#11922IOTA Watch: source-aware polling and cached reward snapshots with React Query0 comments · 2026-10-06#11616Self-lint with eslint-plugin-eslint-plugin (recommended)0 comments · 2026-09-24
Latest release
Release 2026-11-06 23:04 release-2026-11-06-2304 2026-11-06Release 2026-11-06 23:04 Changes Features - vue-query: return a reactive state from useQuery so status=== 'success' narrows data without unwrapping refs (12541) (f4199ab51) by @DamianOsipiuk Fix - vue-query: keep query-core's enabled(query) callback (12542) (025773a83) by @DamianOsipiuk Packages - @tanstack/[email protected] - @tanstack/[email protected] - @tanstack/[email protected] - @tanstack/[email protected] - @tanstack/[email protected] - @tanstack/[email protected] - @tanstack/[email protected] -