How does meteorjs graphql subscribe?

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

Just saw this article, maybe it can help.

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

2 Likes

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.

2 Likes

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

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