From 52de9ef4e0fac77c389c159a4e444f8514ca5cad Mon Sep 17 00:00:00 2001 From: "Cerino O. Ligutom III" <6721822+cerino-ligutom@users.noreply.github.com> Date: Wed, 24 Nov 2021 01:50:39 +0800 Subject: [PATCH] docs: fix fetch policy for useMutation (#1288) --- packages/docs/src/api/use-mutation.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/docs/src/api/use-mutation.md b/packages/docs/src/api/use-mutation.md index d55f978..c65aa64 100644 --- a/packages/docs/src/api/use-mutation.md +++ b/packages/docs/src/api/use-mutation.md @@ -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.