docs: fix fetch policy for useMutation (#1288)

This commit is contained in:
Cerino O. Ligutom III
2021-11-24 01:50:39 +08:00
committed by GitHub
parent cbe7df7a01
commit 52de9ef4e0
-3
View File
@@ -20,9 +20,6 @@
- `ignore`
- `fetchPolicy`: Specifies the `FetchPolicy` to be used for this mutation.
- `cache-first` (default): return result from cache. Only fetch from network if cached result is not available.
- `cache-and-network`: return result from cache first (if it exists), then return network result once it's available.
- `cache-only`: return result from cache if available, fail otherwise.
- `network-only`: return result from network, fail if network call doesn't succeed, save to cache.
- `no-cache`: return result from network, fail if network call doesn't succeed, don't save to cache.