@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 downloads | 19,279,666 | 51,850,189✓ |
| Monthly downloads | 75,898,174 | 225,327,948✓ |
| GitHub stars | 11,214 | 49,542✓ |
| Minified size | 36.1 kB✓ | 45.1 kB |
| Minified + gzipped | 13.3 kB | 13.3 kB✓ |
| Dependencies | 6 | 1✓ |
| Open issues | 274 | 172✓ |
| Last commit | 2026-05-18 | 2026-06-02✓ |
| Latest version | 2.12.0 | 5.100.14 |
| License | MIT | MIT |
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 |
|---|---|---|
| Paradigm | Flux / reducers | Async server cache |
| First-class TypeScript | ✓ Yes | ✓ Yes |
| Works outside React | ✓ Yes | Partial |
| Dedicated devtools | ✓ Yes | ✓ Yes |
| Built-in async / server state | ✓ Yes | ✓ Yes |
| Boilerplate | Medium | Low |
@reduxjs/toolkit
The official, opinionated, batteries-included toolset for efficient Redux development
Related comparisons
Embed this comparison
A live badge for your README — it updates as the numbers change.
[](https://devcompare.dev/compare/reduxjs-toolkit-vs-tanstack-react-query)Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.