Skip to content

useResolvedComponent

useResolvedComponent<TContent>(value): ResolutionState<TContent>

The resolution gate: decides, from the value alone plus the strategy in force, whether a component value can be rendered right now, must be fetched (the normalized strategy), or falls back — and fetches it when that’s the answer. owner (read from the ambient OwnerContext) is what lets an Adapter-bearing reference classify as fetchable instead of falling back to adapter_requires_server_resolve — see ContentClient.resolveReference for how the owner is used. A ready result’s refresh (island refresh) is tracked independently of the fetch-driven state below, since it applies equally to a value this hook fetched itself and one that arrived already-resolved as a prop (the page’s own top-level binding, most commonly).

TContent = ContentDocument

ComponentValue<TContent> | null | undefined

ResolutionState<TContent>