# 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.

- GitHub: https://github.com/TanStack/query
- Website: https://tanstack.com/query
- Category: Frontend Frameworks (https://ideas.asveas.com/c/frontend)
- Tags: async, cache, data, fetch, graphql, hooks, query, react, rest, solid, stale, stale-while-revalidate, svelte, typescript
- Language: TypeScript · License: MIT
- Stars: 50,565 · Forks: 4,224 · Open issues: 134
- Last push: 2026-11-09 (2 days ago)
- Vibe score: 93/100

## 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.

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

## Quick start
```bash
git clone https://github.com/TanStack/query.git
```

## Alternatives in Frontend Frameworks
- [react/react](https://github.com/react/react) — The library for web and native user interfaces. (★252k, JavaScript, vibe 100/100) · details: https://ideas.asveas.com/r/react/react
- [vercel/next.js](https://github.com/vercel/next.js) — The React Framework (★143k, JavaScript, vibe 97/100) · details: https://ideas.asveas.com/r/vercel/next.js
- [sveltejs/svelte](https://github.com/sveltejs/svelte) — web development for the rest of us (★88.7k, JavaScript, vibe 95/100) · details: https://ideas.asveas.com/r/sveltejs/svelte
- [vitejs/vite](https://github.com/vitejs/vite) — Next generation frontend tooling. It's fast! (★83.9k, TypeScript, vibe 95/100) · details: https://ideas.asveas.com/r/vitejs/vite
- [withastro/astro](https://github.com/withastro/astro) — The web framework for content-driven websites. (★63.9k, TypeScript, vibe 94/100) · details: https://ideas.asveas.com/r/withastro/astro
- [nuxt/nuxt](https://github.com/nuxt/nuxt) — The full-stack Vue framework. (★61.1k, TypeScript, vibe 93/100) · details: https://ideas.asveas.com/r/nuxt/nuxt

---
Source: https://ideas.asveas.com/r/TanStack/query · Catalog: https://ideas.asveas.com/llms.txt
