Skip to content

UseFragmentsOptions

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

optional context?: DeclaredContext

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

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:90

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


optional holdMs?: number

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

How long the group, once in view, holds blank waiting for the response before the fallbacks land. Defaults to COPY_HOLD_MS. 0 disables the hold: the fallbacks render at once (on the server too) and are final.


optional mintToken?: MintTokenSource

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

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.