Since discovering GraphQL, I've been slowly moving parts of the Prototypr site away from using REST APIs.
🥳 Today I managed to switch the main Toolbox page to GraphQL, adding:
The results are great for performance, but even more so for speed of development! e.g. 5 REST API calls can be done in a single request using GraphQL.
Also, I used to have to create a totally new REST endpoint when querying for different things..in GraphQL, there's no need to build extra endpoints!
I can't believe I've not been using it all along