DEV Community


Discussion on: Time to stop using REST...

michi profile image
Michael Z

If you are responsible for both backend and frontend, GraphQL just causes unnecessary overhead unfortunately.

Fetch data with a single API call

With HTTP2, and soon HTTP3, multiple requests are often considered faster than a single request fetching everything.
And if you'd really wanted to, you could create non-cruddy rest endpoints that fetch a mixed bag of data for your tailored needs (that is, you own the backend).