mirror of
https://github.com/zhigang1992/apollo.git
synced 2026-05-26 22:57:34 +08:00
Update docs/source/tutorial/queries.md
Co-Authored-By: Peggy Rayzis <peggyrayzis@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user