From fda4c9fb4ac4e764c80c35fb6da331036fd02e78 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Wed, 24 Jan 2024 14:34:50 +0100 Subject: [PATCH] docs: remove mentions of fetchResults, fix #1060 --- packages/docs/src/api/use-query.md | 2 -- packages/docs/src/zh-cn/api/use-query.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/packages/docs/src/api/use-query.md b/packages/docs/src/api/use-query.md index 78b42fa43..20eddaa41 100644 --- a/packages/docs/src/api/use-query.md +++ b/packages/docs/src/api/use-query.md @@ -28,8 +28,6 @@ - `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. - - `fetchResults`: Whether or not to fetch results. - - `metadata`: Arbitrary metadata stored in the store with this query. Designed for debugging, developer tools, etc. - `notifyOnNetworkStatusChange`: Whether or not updates to the network status should trigger next on the observer of this query. diff --git a/packages/docs/src/zh-cn/api/use-query.md b/packages/docs/src/zh-cn/api/use-query.md index fa792920c..60c03a274 100644 --- a/packages/docs/src/zh-cn/api/use-query.md +++ b/packages/docs/src/zh-cn/api/use-query.md @@ -28,8 +28,6 @@ - `network-only`:从网络返回结果并保存到缓存,如果网络调用未成功则失败。 - `no-cache`:从网络返回结果但不保存到缓存,如果网络调用未成功则失败。 - - `fetchResults`:是否获取结果。 - - `metadata`:当前查询在存储中的任意元数据。可用于调试、开发人员工具等场景。 - `notifyOnNetworkStatusChange`:网络状态更新时是否应在此查询的观察者上触发下一步。