Back to gallery
TanStack/query 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.
TanStack
Built byTanStack/

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.

Stars
50.2k
Forks
4.2k
Watchers
0
Open issues
51
TypeScriptMIT main Updated 2 months ago~19 stars/day lifetime
Editor's take

The #1-rated tool in the React 2025 survey. Async state management — fetching, caching, syncing server state. Not a state library exactly but solves what most React apps actually needed Redux for. Default choice.

Use this if

You are fetching data from any API in React. Yes, you need this.

Skip if

You are on Next.js App Router with mostly server components — fetch directly on the server.

State ManagementDatabase & ORM
Topics
reacthooksfetchcacheasyncrestgraphqldataquerystalestale-while-revalidateupdatesolidsveltetypescriptvue
Quick install
# Install via npm / pnpm / bun:
pnpm add query
# or
npm install query

Inferred from TypeScript · always double-check against the official README below.

Live data via GitHub REST API · Cached 30 min · Created 11 Sept 2019