TanStack /query

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

★ 50,546⑂ 4,226👁 247⑃ 6,050● 2,405▤ 1,000◈ 3,602
TypeScriptMITCreated 2019-09-10tanstack.com/query
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

Discussions

Latest release

Release 2026-11-06 23:04 release-2026-11-06-2304 2026-11-06
Release 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]
- 

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON