@@ -117,21 +117,21 @@ const {
117
117
- Defaults to ` true `
118
118
- If set to ` true ` , the query will refetch on mount if the data is stale.
119
119
- 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) .
121
121
- If set to a function, the function will be executed with the query to compute the value
122
122
- ` refetchOnWindowFocus: boolean | "always" | ((query: Query) => boolean | "always") `
123
123
- Optional
124
124
- Defaults to ` true `
125
125
- If set to ` true ` , the query will refetch on window focus if the data is stale.
126
126
- 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) .
128
128
- If set to a function, the function will be executed with the query to compute the value
129
129
- ` refetchOnReconnect: boolean | "always" | ((query: Query) => boolean | "always") `
130
130
- Optional
131
131
- Defaults to ` true `
132
132
- If set to ` true ` , the query will refetch on reconnect if the data is stale.
133
133
- 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) .
135
135
- If set to a function, the function will be executed with the query to compute the value
136
136
- ` notifyOnChangeProps: string[] | "all" | (() => string[] | "all" | undefined) `
137
137
- Optional
0 commit comments