4 ms·
I don't see frontends using REST servers doing what I see with GraphQL. UI using REST server tends to centralize the API client, call the endpoint(s), and make
by exclusiv 4y ago
I don't see frontends using REST servers doing what I see with GraphQL.
UI using REST server tends to centralize the API client, call the endpoint(s), and make that available to all components.
UI using GraphQL often has frontend devs doing their components, running their ad-hoc queries for "just what they need". More network calls.
So overfetching like with REST tends to lead to less network calls unless you are extra diligent on a GraphQL project.