swr の代わりになるライブラリ

npm データ取得・キャッシュ

同じ分類でいま一番使われているのは @tanstack/react-query(週 8,581万 回)、4週間で一番伸びているのは @trpc/client(+30.3%)です。

同じ分類のライブラリ 1行目が swr

比較ツールで開く →
パッケージ週間DL4週比スター依存最新版の公開
swr
React Hooks library for remote data fetching
2,694万+26.7%3.2万22026-08-12
@tanstack/react-query
Hooks for managing, caching and syncing asynchronous and remote data in React
8,581万+9.1%5.1万12026-11-06
graphql-request
Minimal GraphQL client supporting Node and browsers for scripts or simple apps.
1,197万+11.3%6,12112025-12-12
@apollo/client
A fully-featured caching GraphQL client.
829万+16.2%2.0万82026-11-09
@trpc/client
The tRPC client library
689万+30.3%4.1万–2026-11-14
urql
A highly customizable and versatile GraphQL client for React
162万+17.9%8,98532026-08-21
@tanstack/vue-query
Hooks for managing, caching and syncing asynchronous and remote data in Vue
117万+24.5%5.1万52026-11-06

「代わり」は同じ分類に入っているライブラリです。機能や書き方は同じではないので、移る前にそれぞれの公式ドキュメントで確かめてください。