GraphQL Subscriptions Tutorial - Ruby on Rails and React JS. We'll migrate a chat application from polling to GraphQL subscriptions with Ruby on Rails, ActionCable and Redis.
https://github.com/BaylorRae/graphql-...
We'll use React Hooks to manage the Apollo Cache as we manage active subscriptions for various components. I'll also show you the common pitfalls I see in tutorials that leave dangling subscriptions after a component has been unmounted.