TanStack

UseLiveInfiniteQueryReturnWithCollection

Defined in: useLiveInfiniteQuery.ts:62

Type Parameters

TResult

TResult extends object

TKey

TKey extends string | number

TUtils

TUtils extends UtilsRecord

Properties

collection

ts
collection: ComputedRef<Collection<TResult, TKey, TUtils, StandardSchemaV1<unknown, unknown>, TResult>>;

Defined in: useLiveInfiniteQuery.ts:69


data

ts
data: ComputedRef<TResult[]>;

Defined in: useLiveInfiniteQuery.ts:68


fetchNextPage()

ts
fetchNextPage: () => Promise<void>;

Defined in: useLiveInfiniteQuery.ts:83

Returns

Promise<void>


hasNextPage

ts
hasNextPage: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:84


health

ts
health: ComputedRef<HealthNode | undefined>;

Defined in: useLiveInfiniteQuery.ts:86


isCleanedUp

ts
isCleanedUp: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:78


isCrashed

ts
isCrashed: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:77

Local storage or an invariant broke. Only a cascade cleanup and a fresh start recover.


isFetchingNextPage

ts
isFetchingNextPage: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:85


isIdle

ts
isIdle: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:73


isLoading

ts
isLoading: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:71


isLoadingError

ts
isLoadingError: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:75

The first load failed: there is nothing to show.


isReady

ts
isReady: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:72


isSyncError

ts
isSyncError: ComputedRef<boolean>;

Defined in: useLiveInfiniteQuery.ts:80

The data is shown, and a sync problem or failed request is in health.


pageParams

ts
pageParams: ComputedRef<number[]>;

Defined in: useLiveInfiniteQuery.ts:82


pages

ts
pages: ComputedRef<TResult[][]>;

Defined in: useLiveInfiniteQuery.ts:81


state

ts
state: ComputedRef<Map<TKey, TResult>>;

Defined in: useLiveInfiniteQuery.ts:67


status

ts
status: ComputedRef<CollectionStatus>;

Defined in: useLiveInfiniteQuery.ts:70