@tanstack/react-query の代わりになるライブラリ
npm データ取得・キャッシュ
同じ分類でいま一番使われているのは swr(週 2,694万 回)、4週間で一番伸びているのは @trpc/client(+30.3%)です。
同じ分類のライブラリ 1行目が @tanstack/react-query
比較ツールで開く →| パッケージ | 週間DL | 4週比 | 最新版の公開 |
|---|---|---|---|
| @tanstack/react-query Hooks for managing, caching and syncing asynchronous and remote data in React | 8,581万 | +9.1% | 2026-11-06 |
| swr React Hooks library for remote data fetching | 2,694万 | +26.7% | 2026-08-12 |
| graphql-request Minimal GraphQL client supporting Node and browsers for scripts or simple apps. | 1,197万 | +11.3% | 2025-12-12 |
| @apollo/client A fully-featured caching GraphQL client. | 829万 | +16.2% | 2026-11-09 |
| @trpc/client The tRPC client library | 689万 | +30.3% | 2026-11-14 |
| urql A highly customizable and versatile GraphQL client for React | 162万 | +17.9% | 2026-08-21 |
| @tanstack/vue-query Hooks for managing, caching and syncing asynchronous and remote data in Vue | 117万 | +24.5% | 2026-11-06 |
「代わり」は同じ分類に入っているライブラリです。機能や書き方は同じではないので、移る前にそれぞれの公式ドキュメントで確かめてください。