Skip to content

FragmentGroupState

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

contextHash: string

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


holding: boolean

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

The fields are held right now: the request is in flight and the budget has not run out. Every field’s text is "" while this is true.

FragmentText renders each fallback invisibly so its space is reserved; a custom renderer gets the blank the fields carry and should reserve the same space itself (heldReserve(field) returns the text to reserve). When the budget runs out the fallbacks land, so this never stays true.


marked: boolean

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

One useFragments call is one group, one draw, one disclosure.


warmth: "cold" | "warming" | "warm"

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