Skip to main content

React Query

Recommendation
Updated
Moved
USE
2021-10-20

What is it

React Query is the React adapter for the framework agnostic data-fetching library called TanStack Query.

Note that React Query does not support cache normalization on response data—it caches on request parameters.

When to use it

Use React Query when fetching data from a REST API. Prefer Apollo when using GraphQL.

How to learn it

Learn React Query in the official documentation.