3 ms·
100% this. I’ve used GraphQL on two projects now, where we manage the front and back end, and it’s been an amazing experience. A strong type system, combined w
by ab-dm 4y ago
100% this. I’ve used GraphQL on two projects now, where we manage the front and back end, and it’s been an amazing experience.
A strong type system, combined with a GraphQL code generator and typescript, has been an amazing experience as both front and back end developer. Not only do I have types for the backend (for the Things like input args as well as models), I have types for the front end, as well as easy to use hooks to utilise them in React. During development, we constantly fetch the latest schema and check if anything has changed, If so the build breaks then and there, highflying which queries are no longer valid.
The development experience has been amazing, and much more productive than and REST based workflow I’ve used, purely because of the type system.