#GraphQL

16 tweets

I'm working with a codebase where #GraphQL queries are shared and reused between
components. And some even include "all fields from sub-entity" fragments. Isn't
this an anti-pattern? Shouldn't every component request exactly the fields it
needs?

I started #jscc19 today with an AMA session on #graphql.

You should try it, because it solves so many headaches for you and enables
better separation between clients and backends. Makes it so much less hassle to
providing great, flexible APIs for your clients.
Embedded Photo

Slides from the #graphql session: #socracan

Funny story, the hotel has a nice touchscreen monitor / smart board but it's not
connected to the internet so I had to screenshot the screen like a Neanderthal.