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 7535383 commit f52953cCopy full SHA for f52953c
docs/src/pages/docs/api.md
@@ -11,6 +11,7 @@ const {
11
error,
12
failureCount,
13
isError,
14
+ isFetched,
15
isFetchedAfterMount,
16
isFetching,
17
isIdle,
@@ -185,6 +186,8 @@ const queryInfo = useQuery({
185
186
- Will be `true` when `keepPreviousData` is set and data from the previous query is returned.
187
- `isPlaceholderData: Boolean`
188
- Will be `true` if and when the query's `data` is equal to the result of the `placeholderData` option.
189
+- `isFetched: Boolean`
190
+ - Will be `true` if the query has been fetched.
191
- `isFetchedAfterMount: Boolean`
192
- Will be `true` if the query has been fetched after the component mounted.
193
- This property can be used to not show any previously cached data.
0 commit comments