TanStack/query
#347 this week
🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
49.3K stars
3.8K forks
49.3K GitHub watchers
Updated 5/4/2026
Backblaze Generative Media Hackathon
Build the next generation of AI media apps with Genblaze, stored on Backblaze B2. $10,000 in prizes.
Loading star history...
Use Cases & Benefits
- TanStack Query is a powerful async state management library for web apps, supporting data fetching, caching, and synchronization across multiple frameworks.
- Key features include protocol-agnostic fetching (REST, GraphQL), caching, pagination, mutations, background updates, prefetching, cancellation, and React Suspense support.
- Strengths are its broad framework support (React, Solid, Svelte, Vue), large community (46k+ stars), and active maintenance; limitations may include complexity for simple use cases.
- Organizations can use it in production to efficiently manage server state, reduce redundant network requests, and improve UI responsiveness with built-in caching and background updates.
- Ideal use cases include complex web applications requiring efficient data fetching, real-time updates, offline support, and seamless integration with modern frontend frameworks.
About query
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 CHATExplore 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 »
Discover Repositories
Search across tracked repositories by name or description