Packages

Data Fetching & Caching Packages

Async data fetching, caching, and server-state synchronization libraries that handle loading, retries, and revalidation for you (TanStack Query, SWR).

22 packages

Packages in Data Fetching & Caching

Sort:Used by Most Apps
Showing 22 packages
92Health
Library npm

TanStack Query

Hooks-based async state management for fetching, caching, and syncing server data in React.

50,296
MIT
Used by 182
86Health
Library npm

SWR

React Hooks for data fetching with built-in caching, revalidation, and real-time updates

32,477
MIT
Used by 43
91Health
Library npm

Redux Toolkit

The official, opinionated, batteries-included toolset for efficient Redux state management

11,221
MIT
Used by 28
51Health
Library npm

react-tweet

Renders live embedded tweets as React components, with built-in server-component data fetching and a themeable Twitter-style UI.

1,880
MIT
Used by 14
94Health
Library npm

Apollo Client

Industry-leading GraphQL client with normalized caching for TypeScript and React

19,803
MIT
Used by 13
83Health
Library npm

ahooks

A high-quality, production-tested collection of React hooks

14,973
MIT
Used by 12
69Health
Library npm

DataLoader

A batching and caching layer that coalesces per-request data loads into a fraction of the backend calls.

13,390
MIT
Used by 10
41Health
Library npm

jotai-tanstack-query

A Jotai integration library that exposes TanStack Query as composable atoms.

289
MIT
Used by 5
94Health
SDK npm

Cube.js Client Core

The core JavaScript/TypeScript client for querying and consuming data from a Cube semantic layer API.

20,822
MIT
Used by 3
77Health
Library npm

axios-cache-interceptor

Cache interceptor for Axios that adds RFC 7234-aware HTTP caching, deduplication, and pluggable storage with one setupCache() call.

817
MIT
Used by 2
54Health
Library npm

React Apollo

React bindings for Apollo Client — hooks, render-prop components, and a graphql() HOC for querying, mutating, and subscribing to GraphQL data.

6,790
MIT
Used by 1
91Health
Library npm

wagmi

Reactive React Hooks for building Ethereum and Web3 applications, built on viem and TanStack Query.

6,746
MIT
Used by 1
43Health
Library npm

Query Key Factory

Typesafe query key management for TanStack Query with first-class autocompletion.

1,676
MIT
Used by 1
40Health
Library npm

react-async-hook

A tiny React hook library for handling async operations, mutations, and cancellations without race conditions.

1,189
MIT
Used by 1
44Health
Library npm

Genql Runtime

The zero-dependency runtime engine behind Genql's type-safe GraphQL client, handling query generation, batching, and error parsing.

978
MIT
Used by 1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers