I am using the following setup with react-native:
"subscriptions-transport-ws": "^0.5.5-alpha.0"
"apollo-client": "1.0.0-rc.6"
"react-apollo": "1.0.0-rc.3"
When calling subscribeToMore I will always get the following error:
Cannot read property 'subscribe' of undefined
Also the apolloClient instance has no method called subscribeToMore, so the example in the readme does not work.
I solved it it was actually a server side error due to undefined pubsub -.-
How did you fix the undefined pubsub problem? I'm having the same issue, but I can't figure out why my imported pubsub instance is undefined
@bcf3ah check the name pubsubproperly as I faced it
Most helpful comment
@bcf3ah check the name
pubsubproperly as I faced it