Tutorial: GraphQL Subscriptions (client-side)
Shadaj Laddad

Hey quick question, whats the reason for adding subscribeToMore in componentWillMount ?

I tried this on a separate project and got intermittent results. Sometimes it would auto unsubscribe and would not pick up new published subscriptions from the server.

What fixed it was adding subscribeToMore to componentWillReceiveProps
I’m not sure why you need to unsubscribe and subscribe again every time new data comes in but that seems to work [in accordance to the official docs] http://dev.apollodata.com/react/receiving-updates.html#Subscriptions