TanStack Query manages asynchronous and server-side state, including fetching, caching, and updating data in applications.

tanstack.com/query/v3
React Query homepage screenshot

About React Query

TanStack Query manages asynchronous server state for TS/JS applications, including fetching, caching and updating data. It provides declarative APIs for fetching, sharing, refetching, mutating and observing server data without using global state.

It includes request deduplication, retries, cancellation, background refetching, window-focus updates and garbage collection, plus mutation support with optimistic updates, rollback and query invalidation. The documented frameworks are React, Vue, Solid, Svelte, Angular and Lit.

Key features

  • Fetch and cache async server state with declarative query APIs
  • Share single cache entry across multiple observers
  • Background refetching with stale-while-revalidate behavior
  • Request deduplication, retries, cancellation and garbage collection
  • Mutations with optimistic updates, rollback and query invalidation
  • Window-focus updates and observer-based freshness tracking
Best for: Developers building TS/JS apps with React, Vue, Solid, Svelte, Angular or Lit who need to manage server-side data fetching and caching.
Good for
  • Supports TS/JS with React, Vue, Solid, Svelte, Angular and Lit
  • Handles caching, retries, deduplication and background updates
  • Separates server state from client-side global state

React Query at a glance

Type
Website
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

React Query alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 6 alternatives

Query

github.com/TanStack/query

An async state management library for fetching, caching, synchronizing, and updating server state, with TypeScript/JavaScript and React, Solid, Svelte, and Vue packages.

Open source
10 alternatives

Mitosis

mitosis.builder.io

Write components once with Mitosis and compile them for React, Angular, Vue, Svelte, and other frameworks.

Popular in Frontend Development

Well-known listings from the same topic.

All 29

React Query FAQ

Which frameworks does TanStack Query support?
TS/JS applications built with React, Vue, Solid, Svelte, Angular and Lit.
Does it require global state?
No, it manages async data without touching any global state.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing