Skip to content

Commit

Permalink
Update docs/advanced/subscriptions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Phil Pluckthun <phil@kitten.sh>
  • Loading branch information
andyrichardson and kitten committed Jul 28, 2021
1 parent 0e020c2 commit 6c7a07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced/subscriptions.md
Expand Up @@ -78,7 +78,7 @@ we return to the `subscriptionExchange` inside `forwardSubscription`.
For backends supporting `subscriptions-transport-ws`, [Apollo's `subscriptions-transport-ws`
package](https://github.com/apollographql/subscriptions-transport-ws) can be used.

> Note: `subscriptions-transport-ws` is deprecated, consider using `graphql-ws` (above)
> The `subscriptions-transport-ws` package isn't actively maintained. If your API supports the new protocol or you can swap the package out, consider using [`graphql-ws`](#setting-up-graphql-ws) instead.
```js
import { Client, defaultExchanges, subscriptionExchange } from 'urql';
Expand Down

0 comments on commit 6c7a07d

Please sign in to comment.