Ir ao contido

Carga de datos

Utilidades para cargar e xestionar datos

Data Loading Ratios Over Time

TanStack Query may not yet be the most widespread data-loading library yet, but the fact that it's climbing fast while boasting the top satisfaction ratio make it an easy pick.
Apollo Client
Relay
RTK Query
SWR
TanStack Query
tRPC
Axios

Mode:

View:

Uso:

Proportion of respondents having used an item
0%
20%
40%
60%
80%
100%
2023
2024
2025
0%
20%
40%
60%
80%
100%

Number of Items

How many items in this category respondents have used.
0%
6%
12%
18%
25%
31%
1
0
1,152
2
1
412
3
2
770
4
3
695
5
4
474
6
5
190
7
6
56
8
7
11
0%
6%
12%
18%
25%
31%
% dos enquisados

Outras bibliotecas de carga de datos

The native fetch function can still do the job in a pinch!
Que outras bibliotecas de carga de datos empregaches algunha vez?
(resposta libre)
Multiple
0%
20%
40%
60%
80%
100%
1
3
-1
4
+1
5
Outros
0%
20%
40%
60%
80%
100%
% dos enquisados

Inconvintes da carga de datos

Caching is one of those things that sounds simple (just update the cache when something changes, right?), but always ends up quite tricky to master in practice. And it's certainly a concern when it comes to loading and managing data on the client.
Cales son os principais inconvintes que te atopaches relacionados coa carga de datos?
(resposta libre)
Multiple
0%
20%
40%
60%
80%
100%
1
Caching issues
2
Data loading issues
3
React issues
4
Excessive complexity
+2
5
6
Xestión do estado (useState, Redux, Context, etc.)
-6
7
Configuration
+4
8
9
Outros
0%
20%
40%
60%
80%
100%
% dos enquisados

Recursos recomendados

React Performance, v2
Steve Kinney
Temporal

React Performance, v2

Ship high-performance React applications! Leverage React 19's performance strategies for hydration, suspense, resource loading, and server actions. Reinforce time-tested best practices for memoization, virtualization, and code splitting.
Client-Side GraphQL with React, v2
Scott Moss
Netflix

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.
Grazas aos nosos colaboradores por darnos o seu apoio! Saber máis.