How does meteorjs graphql subscribe?


#1

How to make graphql subscriptions in meteor js project, can you share sample code in this topic? note: I am using meteorjs, apollo and graphql


#2

Just saw this article, maybe it can help.

https://medium.com/@michaelcbrook/how-to-get-apollo-2-0-working-with-graphql-subscriptions-321388be030c


#3

I just wrote that article literally yesterday about it. I gained quite a bit of knowledge in getting that working. If you have any additional questions, feel free to reach out.


#4

Thank you . it has been a great article .Can you perform an example project using Reactjs?


#5

I’m not as familiar with React, unfortunately. But luckily there shouldn’t be much difference except in the frontend UI. If someone you knows React better than I would be willing to fork the repo and make a React version of the example app, I’d be happy to link to it.

Blaze version: https://github.com/Pitchlyapp/meteor-apollo2