We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
useQuery
notifyOnChangeProps
1 parent 0931abd commit 43f0722Copy full SHA for 43f0722
docs/framework/react/reference/useQuery.md
@@ -130,7 +130,7 @@ const {
130
- If set to `false`, the query will not refetch on reconnect.
131
- If set to `"always"`, the query will always refetch on reconnect.
132
- If set to a function, the function will be executed with the query to compute the value
133
-- `notifyOnChangeProps: string[] | "all" | (() => string[] | "all")`
+- `notifyOnChangeProps: string[] | "all" | (() => string[] | "all" | undefined)`
134
- Optional
135
- If set, the component will only re-render if any of the listed properties change.
136
- If set to `['data', 'error']` for example, the component will only re-render when the `data` or `error` properties change.
0 commit comments