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,470
MIT
Used by 184
81Health
Library npm

SWR

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

32,495
MIT
Used by 43
90Health
Library npm

Redux Toolkit

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

11,229
MIT
Used by 28
94Health
Library npm

Apollo Client

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

19,784
MIT
Used by 17
58Health
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,884
MIT
Used by 14
84Health
Library npm

ahooks

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

14,975
MIT
Used by 12
66Health
Library npm

DataLoader

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

13,385
MIT
Used by 10
40Health
Library npm

jotai-tanstack-query

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

293
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.

21,067
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,791
MIT
Used by 1
89Health
Library npm

wagmi

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

6,762
MIT
Used by 1
43Health
Library npm

Query Key Factory

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

1,679
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
54Health
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
59Health
Library npm

apollo-link-rest

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

785
MIT
Used by 1
78Health
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
70Health
SDK npm

Sanity SDK

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

19
MIT
Used by 1
51Health
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.

14
MIT
Used by 1
62Health
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
80Health
Library npm

fate

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

1,129
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