stackpicks.dev
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.

49.6k stars3.9k forks216 watchers68 open issuesTypeScriptMIT

TL;DR · 30-second scan

What it is

query (TypeScript)🤖 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 does for you

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

Best for

Database & ORM · State Management

49.6k GitHub starsLicense: MITLast updated 1 month ago
EDITOR'S DEEP 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.

Topics
reacthooksfetchcacheasyncrestgraphqldataquerystalestale-while-revalidateupdatesolidsveltetypescriptvue
Maintainer? Embed our badge

Add this badge to your README to show your project is curated on StackPicks. Free, lightweight (180×28 SVG), and gives your visitors a one-click way to see honest take + alternatives.

Preview
Featured on StackPicks
Markdown (for GitHub README)
[![Featured on StackPicks](https://stackpicks.dev/api/badge/tanstack-query)](https://stackpicks.dev/repo/tanstack-query)
HTML (for blogs / docs)
<a href="https://stackpicks.dev/repo/tanstack-query"><img src="https://stackpicks.dev/api/badge/tanstack-query" alt="Featured on StackPicks" width="180" height="28" /></a>

Are you the maintainer of TanStack/query? Add the badge and we'll feature your project in the weekly curator newsletter.

Created 11 Sept 2019
Last push 1 month ago
Stats refreshed 1 month ago