Type alias UseQueryResult<TData, TError>

UseQueryResult<TData, TError>: Pick<QueryObserverResult<TData, TError>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & {
    internal: Pick<QueryObserverResult, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove">;
    isIdle: boolean;
    status: "idle" | "loading" | "success" | "error";
}

Type Parameters

  • TData

  • TError

Type declaration

  • internal: Pick<QueryObserverResult, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove">
  • isIdle: boolean
  • status: "idle" | "loading" | "success" | "error"

Generated using TypeDoc