Package Comparison

@tanstack/react-queryvsswr

Side-by-side comparison by downloads, bundle size, health score and GitHub activity.

Overall winner: @tanstack/react-query— wins the most categories

Winner

@tanstack/react-query

v5.90.21 · MIT

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

A

Health

98/100

Homepage

swr

v2.4.1 · MIT

React Hooks library for remote data fetching

A

Health

95/100

Homepage

Side-by-Side Metrics

Metric@tanstack/react-queryswr
Weekly Downloads
24.9MWinner
8.8M
Bundle (gzip)
4.7 kBWinner
Health Score
A98/100Winner
A95/100
GitHub Stars
49KWinner
32K
Last Published22d ago6d ago
Dependencies
1Winner
2
TypeScript
Tree-Shakeable
LicenseMITMIT

Data refreshes every hour · Downloads from npm · Bundle size from Bundlephobia · Stars from GitHub