Interface QueryObserverBaseResult<TData, TError>

Type Parameters

  • TData = unknown

  • TError = unknown

Hierarchy

Properties

data: undefined | TData
dataUpdatedAt: number
error: null | TError
errorUpdateCount: number
errorUpdatedAt: number
failureCount: number
failureReason: null | TError
fetchStatus: FetchStatus
isError: boolean
isFetched: boolean
isFetchedAfterMount: boolean
isFetching: boolean
isInitialLoading: boolean
isLoading: boolean
isLoadingError: boolean
isPaused: boolean
isPlaceholderData: boolean
isPreviousData: boolean
isRefetchError: boolean
isRefetching: boolean
isStale: boolean
isSuccess: boolean
refetch: (<TPageData>(options?) => Promise<QueryObserverResult<TData, TError>>)

Type declaration

remove: (() => void)

Type declaration

    • (): void
    • Returns void

status: QueryStatus