Skip to content

Resolve

Resolve<TContent>(__namedParameters): ReactNode

Render-prop form of useResolvedComponent for a Reference field inside a renderer: <Resolve value={content.author}>{(author) => <Byline {...author} />}</Resolve>. This form only ever hands children the delivered content and the resolved value — call useResolvedComponent directly instead of <Resolve> where the island-refresh affordance (state.refresh) is needed.

TContent = ContentDocument

ResolveProps<TContent>

ReactNode