diff --git a/docs/shared/subscription-options.mdx b/docs/shared/subscription-options.mdx index 9b7f6b441f0..b15ca365592 100644 --- a/docs/shared/subscription-options.mdx +++ b/docs/shared/subscription-options.mdx @@ -5,4 +5,5 @@ | `shouldResubscribe` | boolean | Determines if your subscription should be unsubscribed and subscribed again | | `onSubscriptionData` | (options: OnSubscriptionDataOptions<TData>) => any | Allows the registration of a callback function, that will be triggered each time the `useSubscription` Hook / `Subscription` component receives data. The callback `options` object param consists of the current Apollo Client instance in `client`, and the received subscription data in `subscriptionData`. | | `fetchPolicy` | FetchPolicy | How you want your component to interact with the Apollo cache. For details, see [Setting a fetch policy](https://www.apollographql.com/docs/react/data/queries/#setting-a-fetch-policy). | +| `context` | Record<string, any> | Shared context between your component and your network interface (Apollo Link). | | `client` | ApolloClient | An `ApolloClient` instance. By default `useSubscription` / `Subscription` uses the client passed down via context, but a different client can be passed in. |