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 4cecdb1 commit 23846f5Copy full SHA for 23846f5
docs/src/pages/reference/useQuery.md
@@ -11,6 +11,7 @@ const {
11
errorUpdatedAt,
12
failureCount,
13
isError,
14
+ isFetched,
15
isFetchedAfterMount,
16
isFetching,
17
isIdle,
@@ -201,6 +202,8 @@ const result = useQuery({
201
202
- Will be `true` if the data shown is the placeholder data.
203
- `isPreviousData: boolean`
204
- Will be `true` when `keepPreviousData` is set and data from the previous query is returned.
205
+- `isFetched: boolean`
206
+ - Will be `true` if the query has been fetched.
207
- `isFetchedAfterMount: boolean`
208
- Will be `true` if the query has been fetched after the component mounted.
209
- This property can be used to not show any previously cached data.
0 commit comments