1. React
  2. React Alicante
  3. 2017
  4. Building a Realtime Chat with GraphQL Subscriptions

Building a Realtime Chat with GraphQL Subscriptions

Nikolas Burk at React Alicante 2017

GraphQL is getting increasingly popular and many big companies like GitHub, Twitter and Shopify are already using it in production. In this talk, I want to demonstrate one of the newer and less-known GraphQL features: Realtime Subscriptions. After a quick introduction to the basics of GraphQL, we'll build a realtime messenger app with React and Apollo Client. I'll highlight the requirements for building a subscription server that works with Apollo and introduce best practices for implementing subscriptions on the frontend. Related repo: https://github.com/nikolasburk/graphql-chat