Use a GraphQL Query and Subscription Together to Fetch the History and Current Comments

InstructorIan Jones

Share this video with your friends

Send Tweet

Subscriptions are great. They allow data to come into your app without having to refresh any pages. However, they don't allow query for any data that was previously there.

We will have to combine a GraphQL Query with a Subscription to get the initial data as well as the data that comes in.