UseFragmentsOptions
Defined in: react/src/useFragments.ts:102
Properties
Section titled “Properties”context?
Section titled “context?”
optionalcontext?: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
Section titled “fields”fields:
Record<string,FragmentFieldSpec>
Defined in: react/src/useFragments.ts:107
The keys and fallbacks you write here ARE the request schema.
holdMs?
Section titled “holdMs?”
optionalholdMs?: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).
mintToken?
Section titled “mintToken?”
optionalmintToken?: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.