docs: Clarifying it must be a smart query (#590)

It wasn't very clear that it i needed to attach the subscription to a smart query.
This commit is contained in:
James Harrington
2019-04-29 08:21:06 -04:00
committed by Guillaume Chau
parent 4d4cdab23e
commit e6670c8bae
+1 -1
View File
@@ -61,7 +61,7 @@ Vue.use(VueApollo)
## Subscribe To More
If you need to update a query result from a subscription, the best way is using the `subscribeToMore` query method. It will create [Smart Subscriptions](../../api/smart-subscription.md) that are linked to the query. Just add a `subscribeToMore` to your query:
If you need to update a smart query result from a subscription, the best way is using the `subscribeToMore` smart query method. It will create [Smart Subscriptions](../../api/smart-subscription.md) that are linked to the smart query. Just add a `subscribeToMore` to your smart query:
```js
apollo: {