Skip to content

UseFragmentsOptions

Defined in: react/src/useFragments.ts:102

optional context?: DeclaredContext

Defined in: react/src/useFragments.ts:105

Declared placement. Merged OVER the provider’s declared context (page/intent/audience), which acts as the page-wide default.


fields: Record<string, FragmentFieldSpec>

Defined in: react/src/useFragments.ts:107

The keys and fallbacks you write here ARE the request schema.


optional holdMs?: number

Defined in: react/src/useFragments.ts:114

How long the canvas holds blank waiting for the response before the fallback paints. Defaults to the squid hold budget (COPY_HOLD_MS).


optional mintToken?: MintTokenSource

Defined in: react/src/useFragments.ts:111

Signed mint token for THIS call site, overriding the provider’s. Read at mint time, so a callback that returns a fresh token always wins over a stale one — and its identity never re-opens a fetch.