Skip to content

Commit b1057bd

Browse files
committedMay 6, 2018
Fix watchQuery link to docs
The link to the watchQuery API docs is currently broken. Submitted a PR for this fix in `vue-apollo` earlier too: Also, replaced the squared brackets around the ‘apollo-client API reference’ text with parenthesis for better readability (IMHO).
1 parent 6628945 commit b1057bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ client.query({
7474

7575
Now your client will be primed with some data in its cache. You can continue to make queries, or you can get your `client` instance to perform all sorts of advanced tasks on your GraphQL data. Such as [reactively watching queries with `watchQuery`][], [changing data on your server with `mutate`][], or [reading a fragment from your local cache with `readFragment`][].
7676

77-
To learn more about all of the features available to you through the `apollo-client` package, be sure to read through the [**`apollo-client` API reference**][https://www.apollographql.com/docs/react/api/apollo-client.html].
77+
To learn more about all of the features available to you through the `apollo-client` package, be sure to read through the (**`apollo-client` API reference**)[https://www.apollographql.com/docs/react/api/apollo-client.html].
7878

7979
[`ApolloClient`]: https://www.apollographql.com/docs/react/api/apollo-client.html
8080
[`apollo-boost`]: https://www.apollographql.com/docs/react/essentials/get-started.html#apollo-boost
81-
[reactively watching queries with `watchQuery`]: http://apollographql.com/docs/react/reference/index.html#ApolloClient\.watchQuery
81+
[reactively watching queries with `watchQuery`]: https://www.apollographql.com/docs/react/api/apollo-client.html#ApolloClient.watchQuery
8282
[changing data on your server with `mutate`]: https://www.apollographql.com/docs/react/essentials/mutations.html
8383
[reading a fragment from your local cache with `readFragment`]: https://www.apollographql.com/docs/react/advanced/caching.html#direct
8484

0 commit comments

Comments
 (0)