react-redux vs @tanstack/react-query
@tanstack/react-query is downloaded 2.1× more often than react-redux (225,327,948 vs 108,155,943 per month), so it has the larger community and more answered questions online. react-redux ships 72% less gzipped JavaScript (3.7 kB vs 13.3 kB), which matters if bundle size is a priority. Both projects are actively maintained.
| Metric | react-redux | @tanstack/react-query |
|---|---|---|
| Weekly downloads | 25,466,427 | 51,850,189✓ |
| Monthly downloads | 108,155,943 | 225,327,948✓ |
| GitHub stars | 23,483 | 49,542✓ |
| Minified size | 9.5 kB✓ | 45.1 kB |
| Minified + gzipped | 3.7 kB✓ | 13.3 kB |
| Dependencies | 2 | 1✓ |
| Open issues | 37✓ | 172 |
| Last commit | 2026-05-15 | 2026-06-02✓ |
| Latest version | 9.3.0 | 5.100.14 |
| License | MIT | MIT |
When to choose which
react-redux
Official React bindings for Redux — not a store by itself.
Choose it when: Whenever you use Redux/RTK in React. It connects the store to components; pair it with Redux Toolkit.
- + Official & optimized
- + Hooks API (useSelector/useDispatch)
- - Useless without a Redux store
- - Adds a provider
@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 | react-redux | @tanstack/react-query |
|---|---|---|
| Paradigm | Redux bindings | Async server cache |
| First-class TypeScript | ✓ Yes | ✓ Yes |
| Works outside React | ✗ No | Partial |
| Dedicated devtools | ✓ Yes | ✓ Yes |
| Built-in async / server state | ✗ No | ✓ Yes |
| Boilerplate | Low | Low |
Related comparisons
Embed this comparison
A live badge for your README — it updates as the numbers change.
[](https://devcompare.dev/compare/react-redux-vs-tanstack-react-query)Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.