i ideas / repo launcher
TanStack avatar

TanStack/query

β˜… 50,565TypeScriptMIT93

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

What it is

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

When to use it

Reach for query when you are choosing the foundation of a web app β€” framework, router, bundler or data layer β€” it's written in TypeScript and fits stacks tagged async, cache, data, fetch.

Category
Frontend Frameworks
Also in
β€”
Stars
50,565
Forks
4,224
Last push
2 days ago
Created
2019-09-10
Open issues
134
Website
tanstack.com/query

Quick start

$ git clone https://github.com/TanStack/query.git

Hand it to your AI

Read https://ideas.asveas.com/r/TanStack/query.md and help me add TanStack/query to my project. Explain the setup steps for my stack and show the minimal code to get it working.

Alternatives to query

All Frontend Frameworks β†’

Pairs well with

FAQ

What is query?

TanStack/query is a frontend framework on GitHub: πŸ€– Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query. An async state management library built to simplify fetching, caching, synchronizing, and updating server state.

When should I use query?

Reach for query when you are choosing the foundation of a web app β€” framework, router, bundler or data layer β€” it's written in TypeScript and fits stacks tagged async, cache, data, fetch.

What are the best alternatives to query?

Popular alternatives in Frontend Frameworks: react/react (252kβ˜…), vercel/next.js (143kβ˜…), sveltejs/svelte (88.7kβ˜…), vitejs/vite (83.9kβ˜…), withastro/astro (63.9kβ˜…).

Is query actively maintained?

TanStack/query looks very actively maintained: the last push was 2 days ago (2026-11-09), with 50,565 stars and 134 open issues.

What license does query use?

TanStack/query is published under the MIT license. Check the repository's LICENSE file before commercial use.