GitHub - 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.
Repository navigation
queryPublic
About
🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
tanstack.com/queryTopics
async cache data fetch graphql hooks query react rest solid stale stale-while-revalidate svelte typescript update vueResources
Readme MIT licenseContributing
Contributing Activity Custom propertiesStars
50.9k starsWatchers
254 watchingForks
4.2k forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
ÂHistory
6,146 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| .changeset | .changeset | Â | Â |
| .github | .github | Â | Â |
| .nx/ workflows | .nx/ workflows | Â | Â |
| docs | docs | Â | Â |
| examples | examples | Â | Â |
| integrations | integrations | Â | Â |
| media | media | Â | Â |
| packages | packages | Â | Â |
| scripts | scripts | Â | Â |
| .coderabbit.yaml | .coderabbit.yaml | Â | Â |
| .editorconfig | .editorconfig | Â | Â |
| .gitattributes | .gitattributes | Â | Â |
| .gitignore | .gitignore | Â | Â |
| .npmrc | .npmrc | Â | Â |
| .nvmrc | .nvmrc | Â | Â |
| .size-limit.json | .size-limit.json | Â | Â |
| AGENTS.md | AGENTS.md | Â | Â |
| AI_POLICY.md | AI_POLICY.md | Â | Â |
| CONTRIBUTING.md | CONTRIBUTING.md | Â | Â |
| FUNDING.json | FUNDING.json | Â | Â |
| LICENSE | LICENSE | Â | Â |
| README.md | README.md | Â | Â |
| knip.config.ts | knip.config.ts | Â | Â |
| nx.json | nx.json | Â | Â |
| oxfmt.config.ts | oxfmt.config.ts | Â | Â |
| oxlint.config.ts | oxlint.config.ts | Â | Â |
| package.json | package.json | Â | Â |
| pnpm-lock.yaml | pnpm-lock.yaml | Â | Â |
| pnpm-workspace.yaml | pnpm-workspace.yaml | Â | Â |
| tsconfig.json | tsconfig.json | Â | Â |
Repository files navigation
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 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 »
About
🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
tanstack.com/query