|
|
|
|
|
by rattray
2047 days ago
|
|
That sounds really cool! But I don't think it addresses why I'd want a "smart" GraphQL client: normalized caching on the client. Say I have a dashboard where multiple panels on a given page make their own requests, since the panels are shared between many pages. But they share some objects. If I get updated data in a request from one panel, I'd like to see that update in all panels, without triggering more requests. Side note that a magic layer to have each of those components combine their requests into one would actually hurt performance, since it's better to load the requests in parallel. And manually merging them into one would be quite a chore. |
|