Skip to content
React Libraries
On this page

Data fetching & server actions

Call APIs, manage cached responses, and connect interface actions to the server.

Choose a library or tool

11 options in this category.

apisauce

Library / tool

An HTTP client wrapper that standardizes responses and request handling.

Good for
API clients that benefit from consistent success and error results.

Axios

Library / tool

A promise-based HTTP client for browsers and Node.js.

Good for
Configuring API requests, interceptors, and shared request behavior.

axios-hooks

Library / tool

React hooks for managing Axios requests.

Good for
Connecting request status and responses to React component state.

Better Fetch

Library / tool

A fetch wrapper with TypeScript-focused request and response tooling.

Good for
Building typed API clients around the standard Fetch API.

Ky

Library / tool

A Fetch API wrapper with conveniences for HTTP requests.

Good for
Writing concise browser API clients with configurable retry and response handling.

next-safe-action

Library / tool

Utilities for type-safe Next.js Server Actions with input validation.

Good for
Connecting form or UI actions to validated server operations.

redaxios

Library / tool

An Axios-style HTTP client implemented around the Fetch API.

Good for
Using familiar request syntax with a fetch-based implementation.

RTK Query

Library / tool

Data fetching and caching tools included with Redux Toolkit.

Good for
Managing server data in an application that uses Redux.

Suspensive

Library / tool

Utilities and components for React Suspense workflows.

Good for
Organizing loading, error, and asynchronous rendering boundaries.

SWR

Library / tool

React hooks for fetching, caching, and revalidating server data.

Good for
Keeping remote data responsive while refreshing it in the background.

TanStack Query

Library / tool

Tools for managing asynchronous server state and cached requests.

Good for
Coordinating loading, mutations, retries, and cache updates in an application.

Keep exploring

Browse all categories →