We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d953688 commit 9d8cc79Copy full SHA for 9d8cc79
packages/docs/src/guide-composable/subscription.md
@@ -82,6 +82,7 @@ We need to either use the `GraphQLWsLink` or the `HttpLink` depending on the ope
82
```js
83
import { HttpLink, split } from "@apollo/client/core"
84
import { GraphQLWsLink } from "@apollo/client/link/subscriptions"; // <-- This one uses graphql-ws
85
+import { createClient } from "graphql-ws";
86
import { getMainDefinition } from "@apollo/client/utilities"
87
88
// Create an http link:
0 commit comments