Facebook presentation on GraphQL Event-based Subscriptions


#1

Live from React Europe (no replay yet):

Read:

Write:

Subscribe:

Subscription payload:

Supports:

  • Throttling
  • Batching
  • Logging & debugging
  • GraphiQL

Facebook use-cases:

  • Live likes & comments
  • Sports updates
  • Message being typed

Edit: This was new to me (and was presented as something new), but is actually old news: http://graphql.org/blog/subscriptions-in-graphql-and-relay/


#2

Yeah this is old news - the first half of the talk was totally new stuff about live queries and streaming results, something Apollo will hopefully be able to take advantage of as soon as possible!

I’ll write a post about how the live, defer, and stream directives might work in Apollo soon!