GraphQL Best Practices

 

We're getting set up!

presentation will probably start at 12:05

Why GraphQL?

So I read this one Medium aricle and...

Facebook uses it?

It's useable.

It's still an API....

  • consistency matters
  • stability matters
  • resiliency matters

Demo Time

 

"Real Time"

This app is getting popular....

pagination?

  • get X todos per request
  • display total number available

Don't Break the API

  • be aware
  • leave room for the future

I think it's time for a refactor...

Don't Break the Code

  • keep it typesafe

Wait, what's that other team doing....

Don't Break the Response

  • think about what's actually required
  • be wary of cross domain boundaries

deck

By Chris Langager