Skip to main content
Version: 0.1.2

Type Alias: FetchStateBuilderResult

Imported from @react-logic/utils

FetchStateBuilderResult<T> = string | FetchStateRequest<T> | null | undefined

What a build callback returns: a URL string (shorthand for a GET), a full request descriptor, or a nullish value to skip this tick (only meaningful inside fetchState; callableFetchState requires a descriptor since the call was explicit).

Type Parameters

T

T = unknown