4 ms·
On the GraphQL side you can use gqless[0] (or the improved fork I helped sponsor, here[1]). It's by far the best DX I've had for any data fetching library: full
by nwienert 6y ago
On the GraphQL side you can use gqless[0] (or the improved fork I helped sponsor, here[1]). It's by far the best DX I've had for any data fetching library: fully typed calls, no strings at all, no duplication of code or weird importing, no compiler, and it resolves the entire tree and creates a single fetch call.
[0] https://github.com/gqless/gqless https://github.com/gqless/gqless
[1] https://github.com/PabloSzx/new_gqless https://github.com/PabloSzx/new_gqless
- robin21 6y agoPretty cool! Graphql-code-generator is great, but this goes a whole lot further. I no longer have to even write queries. I guess the big advantage is that when you write a manual query you can still pull down more data than you need by accident. Whereas this approach only pulls down what you need.