Update docs/source/tutorial/queries.md

Co-Authored-By: Peggy Rayzis <peggyrayzis@gmail.com>
This commit is contained in:
Hugh Willson
2019-08-05 13:19:55 -04:00
committed by GitHub
parent d96ff50bfc
commit 39b6fce198

View File

@@ -274,7 +274,7 @@ Great, now we've successfully refactored our queries to use fragments. Fragments
### Customizing the fetch policy
Sometimes, it's useful to tell Apollo Client to bypass the cache altogether if you have some data that constantly needs to be refreshed. We can do this by customizing the `useQuery` Hook's `fetchPolicy`.
Sometimes, it's useful to tell Apollo Client to bypass the cache altogether if you have some data that constantly needs to be refreshed. We can do this by customizing the `useQuery` hook's `fetchPolicy`.
First, let's navigate to `src/pages/profile.js` and write our query: