[**@wocart/theme v4.1.0**](../../README)

***

[@wocart/theme](../../README) / [index](../README) / resolveInstance

# Function: resolveInstance()

> **resolveInstance**(`definition`, `instance`, `scope?`): [`ResolvedInstance`](../interfaces/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`](../interfaces/ComponentDefinition)

### instance

[`ComponentInstance`](../interfaces/ComponentInstance)

### scope?

[`ResolutionScope`](../interfaces/ResolutionScope)

## Returns

[`ResolvedInstance`](../interfaces/ResolvedInstance)
