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

92Health
Library npm

TanStack Query

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

50,368
MIT
Used by 183
83Health
Library npm

SWR

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

32,494
MIT
Used by 43
92Health
Library npm

Redux Toolkit

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

11,226
MIT
Used by 28
95Health
Library npm

Apollo Client

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

19,803
MIT
Used by 17
61Health
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,882
MIT
Used by 14
86Health
Library npm

ahooks

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

14,974
MIT
Used by 12
68Health
Library npm

DataLoader

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

13,391
MIT
Used by 10
41Health
Library npm

jotai-tanstack-query

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

290
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,918
MIT
Used by 3
76Health
Library npm

axios-cache-interceptor

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

816
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
85Health
Library npm

wagmi

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

6,753
MIT
Used by 1
43Health
Library npm

Query Key Factory

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

1,678
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,187
MIT
Used by 1
43Health
Library npm

Genql Runtime

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

980
MIT
Used by 1
57Health
Library npm

apollo-link-rest

Query REST APIs with GraphQL syntax through a drop-in Apollo Client link, no server rewrite required.

786
MIT
Used by 1
79Health
Library PyPI

CacheControl

Transparent, RFC-compliant HTTP caching for Python's requests library.

505
Apache 2.0
Used by 1
29Health
Library npm

awesome-debounce-promise

Debounce async function calls and API requests in JavaScript/TypeScript, resolving only the last promise to avoid race conditions.

392
MIT
Used by 1
69Health
SDK npm

Sanity SDK

Framework-agnostic TypeScript core for building custom apps on top of Sanity's real-time content platform.

18
MIT
Used by 1
50Health
SDK npm

@sanity/mutate

A TypeScript toolkit for building, encoding, and applying Sanity content mutations, with an optimistic local store for real-time editing UIs.

13
MIT
Used by 1
61Health
Library npm

nextcloud-initial-state

Reads server-injected initial state data into Nextcloud app frontends with typed fallbacks.

3
GPL 3.0
Used by 1
78Health
Library npm

fate

A Relay-inspired data client for React with normalized caching, view composition, and type-safe fetching.

1,094
MIT

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