Ir al contenido

Data Loading

Utilities for loading and managing data

Data Loading Ratios Over Time

TanStack Query continues its growth trajectory, both in terms of usage and positivity. The interest graph in particular reveals that –along with tRPC– it's pretty much the only data loading library that is still intriguing respondents today!

Apollo Client
Relay
RTK Query
SWR
TanStack Query
tRPC
Fetch
Axios

Mode:

View:

0%
20%
40%
60%
80%
100%
2023
2024
0%
20%
40%
60%
80%
100%

Other Data Loading Libraries

Besides ky and URQL, no new data loading library scored more than the minimum 10 mention threshold.

0%
20%
40%
60%
80%
100%
1

2

3

4

5

Other Answers

Answers matching “Other Answers” 164
0%
20%
40%
60%
80%
100%
% de respuestas respondidas
What other libraries have you used for data loading?
Freeform
We asked members of the React community to share their “pick of the year”

My 2024 Pick: Instant Search Params with React Server Components

This blog post goes through a problem you would must likely encounter when building a proper app with the Next.js App Router: handling search params. It’s surprisingly hard to make interactions behave “perfectly”, and the post end with the solution: useOptimistic. It also teaches you about transitions with lots of sandbox demos.
We asked members of the React community to share their “pick of the year”

Aurora Scharff

Web developer and consultant at Inmeta

Data Loading Pain Points

The fact that state management was cited as the biggest issues when it comes to data loading may explain the popularity of TanStack Query, since it tackes that issue head-on.

Yet overall, the fact that only 3% of respondents shared a pain point at all shows that data loading may actually have somehow become one of the least painful parts of modern web apps.

0%
20%
40%
60%
80%
100%
1

State management

2

Caching

3

Error handling

4

5

Apollo issues

6

Excessive complexity

7

Other Answers

Answers matching “Other Answers” 211
0%
20%
40%
60%
80%
100%
% de respuestas respondidas
What pain points have you encountered related to data loading?
Freeform

Recursos recomendados

Client-Side GraphQL with React, v2
Scott Moss
Superfilter AI

Client-Side GraphQL with React, v2

Use type-safe GraphQL APIs in your React applications. Learn the GraphQL Query Language and write queries and mutations while building a data layer with the Urql GraphQL client.
¡Gracias a nuestros socios por apoyarnos! Aprende más.