Skip to content

Commit

Permalink
docs: remove mentions of fetchResults, fix #1060
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Jan 24, 2024
1 parent 3de258d commit fda4c9f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/docs/src/api/use-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions packages/docs/src/zh-cn/api/use-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
- `network-only`:从网络返回结果并保存到缓存,如果网络调用未成功则失败。
- `no-cache`:从网络返回结果但不保存到缓存,如果网络调用未成功则失败。

- `fetchResults`:是否获取结果。

- `metadata`:当前查询在存储中的任意元数据。可用于调试、开发人员工具等场景。

- `notifyOnNetworkStatusChange`:网络状态更新时是否应在此查询的观察者上触发下一步。
Expand Down

0 comments on commit fda4c9f

Please sign in to comment.