Tutorial: GraphQL Subscriptions (client-side)
Shadaj Laddad
569

In the client definition, where it looks like:

const client = new ApolloClient({
networkInterface,
...

use instead:

const client = new ApolloClient({
networkInterface: networkInterfaceWithSubscriptions,
...
Show your support

Clapping shows how much you appreciated Scott Hill’s story.