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.
49.5k stars3.8k forks214 watchers73 open issuesTypeScriptMIT
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.
Categories
Topics
reacthooksfetchcacheasyncrestgraphqldataquerystalestale-while-revalidateupdatesolidsveltetypescriptvue
Created 11 Sept 2019
Last push 3 hours ago
Stats refreshed 1 hour ago