Hacker News new | ask | show | jobs
by asp2insp 3019 days ago
Naively, yes, but in practice this is one of the things a good graphql client library can solve. Apollo Client, for example, will bundle query fragments from all your components together into a single request, and manage caching under the hood for you.