Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

UseLiveQueryFlags.md

110 lines2.3 KB

Defined in: useLiveQuery.ts:57

Status, persistence, and error refs every useLiveQuery result has.

Extended by

Properties

health

health: ComputedRef<HealthNode | undefined>;

Defined in: useLiveQuery.ts:69


isCleanedUp

isCleanedUp: ComputedRef<boolean>;

Defined in: useLiveQuery.ts:66


isCrashed

isCrashed: ComputedRef<boolean>;

Defined in: useLiveQuery.ts:65

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


isIdle

isIdle: ComputedRef<boolean>;

Defined in: useLiveQuery.ts:61


isLoading

isLoading: ComputedRef<boolean>;

Defined in: useLiveQuery.ts:59


isLoadingError

isLoadingError: ComputedRef<boolean>;

Defined in: useLiveQuery.ts:63

The first load failed: there is nothing to show.


isReady

isReady: ComputedRef<boolean>;

Defined in: useLiveQuery.ts:60


isSyncError

isSyncError: ComputedRef<boolean>;

Defined in: useLiveQuery.ts:68

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


status

status: ComputedRef<CollectionStatus>;

Defined in: useLiveQuery.ts:58