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
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.
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.
apollo-link-rest
Query REST APIs with GraphQL syntax through a drop-in Apollo Client link, no server rewrite required.
CacheControl
Transparent, RFC-compliant HTTP caching for Python's requests library.
awesome-debounce-promise
Debounce async function calls and API requests in JavaScript/TypeScript, resolving only the last promise to avoid race conditions.
Sanity SDK
Framework-agnostic TypeScript core for building custom apps on top of Sanity's real-time content platform.
@sanity/mutate
A TypeScript toolkit for building, encoding, and applying Sanity content mutations, with an optimistic local store for real-time editing UIs.
nextcloud-initial-state
Reads server-injected initial state data into Nextcloud app frontends with typed fallbacks.
wagmi
Reactive React Hooks for building Ethereum and Web3 applications, built on viem and TanStack Query.
fate
A Relay-inspired data client for React with normalized caching, view composition, and type-safe fetching.