Data Fetching & Caching Packages
Async data fetching, caching, and server-state synchronization libraries that handle loading, retries, and revalidation for you (TanStack Query, SWR).
Packages in Data Fetching & Caching
Sort:Used by Most Apps
TanStack Query
Hooks-based async state management for fetching, caching, and syncing server data in React.
SWR
React Hooks for data fetching with built-in caching, revalidation, and real-time updates
Apollo Client
Industry-leading GraphQL client with normalized caching for TypeScript and React
axios-cache-interceptor
Cache interceptor for Axios that adds RFC 7234-aware HTTP caching, deduplication, and pluggable storage with one setupCache() call.
Query Key Factory
Typesafe query key management for TanStack Query with first-class autocompletion.