Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/src/pages/reference/useQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const {
errorUpdatedAt,
failureCount,
isError,
isFetched,
isFetchedAfterMount,
isFetching,
isIdle,
Expand Down Expand Up @@ -201,6 +202,8 @@ const result = useQuery({
- Will be `true` if the data shown is the placeholder data.
- `isPreviousData: boolean`
- Will be `true` when `keepPreviousData` is set and data from the previous query is returned.
- `isFetched: boolean`
- Will be `true` if the query has been fetched.
- `isFetchedAfterMount: boolean`
- Will be `true` if the query has been fetched after the component mounted.
- This property can be used to not show any previously cached data.
Expand Down