@reduxjs/toolkit vs @tanstack/react-query

@tanstack/react-query is downloaded 3.0× more often than @reduxjs/toolkit (225,327,948 vs 75,898,174 per month), so it has the larger community and more answered questions online. Both projects are actively maintained.

Metric@reduxjs/toolkit@tanstack/react-query
Weekly downloads19,279,66651,850,189
Monthly downloads75,898,174225,327,948
GitHub stars11,21449,542
Minified size36.1 kB45.1 kB
Minified + gzipped13.3 kB13.3 kB
Dependencies61
Open issues274172
Last commit2026-05-182026-06-02
Latest version2.12.05.100.14
LicenseMITMIT

When to choose which

@reduxjs/toolkit

The official, batteries-included way to write Redux.

Choose it when: Large apps that need predictable, debuggable global state with time-travel devtools and a standardized structure across a team.

  • + Time-travel devtools
  • + Huge ecosystem & docs
  • + RTK Query for data fetching
  • - More concepts to learn
  • - Heavier than minimal stores

@tanstack/react-query

Async server-state: caching, refetching and mutations.

Choose it when: Managing data from an API — caching, background refetch, pagination, mutations. It complements (not replaces) a client store.

  • + Best-in-class server cache
  • + Great devtools
  • + Handles refetch/stale data
  • - Not for client/UI state
  • - More config than SWR

Feature comparison

Feature@reduxjs/toolkit@tanstack/react-query
ParadigmFlux / reducersAsync server cache
First-class TypeScript✓ Yes✓ Yes
Works outside React✓ YesPartial
Dedicated devtools✓ Yes✓ Yes
Built-in async / server state✓ Yes✓ Yes
BoilerplateMediumLow

@reduxjs/toolkit

The official, opinionated, batteries-included toolset for efficient Redux development

@tanstack/react-query

Hooks for managing, caching and syncing asynchronous and remote data in React

Related comparisons

Embed this comparison

A live badge for your README — it updates as the numbers change.

@reduxjs/toolkit vs @tanstack/react-query downloads
[![@reduxjs/toolkit vs @tanstack/react-query](https://devcompare.dev/badge/reduxjs-toolkit-vs-tanstack-react-query.svg)](https://devcompare.dev/compare/reduxjs-toolkit-vs-tanstack-react-query)

Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.