@rematch/core vs @tanstack/react-query
@tanstack/react-query is downloaded 1459.8× more often than @rematch/core (225,327,948 vs 154,354 per month), so it has the larger community and more answered questions online. @rematch/core ships 85% less gzipped JavaScript (2.1 kB vs 13.3 kB), which matters if bundle size is a priority. @tanstack/react-query has been updated more recently, a sign of more active maintenance.
| Metric | @rematch/core | @tanstack/react-query |
|---|---|---|
| Weekly downloads | 38,752 | 51,850,189✓ |
| Monthly downloads | 154,354 | 225,327,948✓ |
| GitHub stars | 8,415 | 49,542✓ |
| Minified size | 6.1 kB✓ | 45.1 kB |
| Minified + gzipped | 2.1 kB✓ | 13.3 kB |
| Dependencies | 0✓ | 1 |
| Open issues | 26✓ | 172 |
| Last commit | 2023-09-27 | 2026-06-02✓ |
| Latest version | 2.2.0 | 5.100.14 |
| License | MIT | MIT |
When to choose which
@rematch/core
Redux reimagined around models, no boilerplate.
Choose it when: You like Redux semantics but want models with built-in effects and far less setup.
- + Model-based, low boilerplate
- + Redux devtools
- + Framework-agnostic
- - Small community
- - Less active than RTK
@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 | @rematch/core | @tanstack/react-query |
|---|---|---|
| Paradigm | Redux models | 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 | Low | Low |
Related comparisons
Embed this comparison
A live badge for your README — it updates as the numbers change.
[](https://devcompare.dev/compare/rematch-core-vs-tanstack-react-query)Data from npm, Bundlephobia and GitHub. Last updated 2026-06-02.