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
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
Redux Toolkit
The official, opinionated, batteries-included toolset for efficient Redux state management
Apollo Client
Industry-leading GraphQL client with normalized caching for TypeScript and React
react-tweet
Renders live embedded tweets as React components, with built-in server-component data fetching and a themeable Twitter-style UI.
ahooks
A high-quality, production-tested collection of React hooks
DataLoader
A batching and caching layer that coalesces per-request data loads into a fraction of the backend calls.
jotai-tanstack-query
A Jotai integration library that exposes TanStack Query as composable atoms.
Cube.js Client Core
The core JavaScript/TypeScript client for querying and consuming data from a Cube semantic layer API.
axios-cache-interceptor
Cache interceptor for Axios that adds RFC 7234-aware HTTP caching, deduplication, and pluggable storage with one setupCache() call.
React Apollo
React bindings for Apollo Client — hooks, render-prop components, and a graphql() HOC for querying, mutating, and subscribing to GraphQL data.
wagmi
Reactive React Hooks for building Ethereum and Web3 applications, built on viem and TanStack Query.
Query Key Factory
Typesafe query key management for TanStack Query with first-class autocompletion.
react-async-hook
A tiny React hook library for handling async operations, mutations, and cancellations without race conditions.
Genql Runtime
The zero-dependency runtime engine behind Genql's type-safe GraphQL client, handling query generation, batching, and error parsing.