Wocart

@wocart/theme v4.1.0


@wocart/theme / index / resolveInstance

Function: resolveInstance()

resolveInstance(definition, instance, scope?): ResolvedInstance

Gate one instance for rendering: field values through the chain, children and named slots gated against the declared slots, every degradation reported. The instance (and page data) is never modified.

Parameters

definition

ComponentDefinition

instance

ComponentInstance

scope?

ResolutionScope

Returns

ResolvedInstance