Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Alex Gleason (alex@gleasonator.com)'s status on Sunday, 14-Aug-2022 23:47:01 JSTAlex Gleason Here's another problem that's solved with GraphQL:
When I visit your list of followers, I want to display a "Follow/Unfollow" button next to each one. That actually requires a separate API request to /api/v1/relationships for each page.
With GraphQL it can be done in a single request, because I can simply query both at once.