Skip to content

Commit 5d2114c

Browse files
committed
docs
1 parent 46da120 commit 5d2114c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/framework/react/reference/useQuery.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,21 +117,21 @@ const {
117117
- Defaults to `true`
118118
- If set to `true`, the query will refetch on mount if the data is stale.
119119
- If set to `false`, the query will not refetch on mount.
120-
- If set to `"always"`, the query will always refetch on mount.
120+
- If set to `"always"`, the query will always refetch on mount (except when `staleTime: 'static'` is used).
121121
- If set to a function, the function will be executed with the query to compute the value
122122
- `refetchOnWindowFocus: boolean | "always" | ((query: Query) => boolean | "always")`
123123
- Optional
124124
- Defaults to `true`
125125
- If set to `true`, the query will refetch on window focus if the data is stale.
126126
- If set to `false`, the query will not refetch on window focus.
127-
- If set to `"always"`, the query will always refetch on window focus.
127+
- If set to `"always"`, the query will always refetch on window focus (except when `staleTime: 'static'` is used).
128128
- If set to a function, the function will be executed with the query to compute the value
129129
- `refetchOnReconnect: boolean | "always" | ((query: Query) => boolean | "always")`
130130
- Optional
131131
- Defaults to `true`
132132
- If set to `true`, the query will refetch on reconnect if the data is stale.
133133
- If set to `false`, the query will not refetch on reconnect.
134-
- If set to `"always"`, the query will always refetch on reconnect.
134+
- If set to `"always"`, the query will always refetch on reconnect (except when `staleTime: 'static'` is used).
135135
- If set to a function, the function will be executed with the query to compute the value
136136
- `notifyOnChangeProps: string[] | "all" | (() => string[] | "all" | undefined)`
137137
- Optional

0 commit comments

Comments
 (0)