We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b01d269 commit 3896f0dCopy full SHA for 3896f0d
docs/src/pages/docs/api.md
@@ -14,6 +14,7 @@ const {
14
isError,
15
data,
16
error,
17
+ isStale,
18
isFetching,
19
failureCount,
20
refetch,
@@ -142,6 +143,8 @@ const queryInfo = useQuery({
142
143
- `error: null | Error`
144
- Defaults to `null`
145
- The error object for the query, if an error was thrown.
146
+- `isStale: Boolean`
147
+ - Will be `true` if the cache data is stale.
148
- `isFetching: Boolean`
149
- Defaults to `true` so long as `manual` is set to `false`
150
- Will be `true` if the query is currently fetching, including background fetching.
0 commit comments