Skip to main content

ResolvedProps

Type Alias ResolvedProps 

Source
pub type ResolvedProps = Arc<IndexMap<String, Value>>;
Expand description

Resolved prop map, shared behind Arc for O(1) cloning.

Every InstanceNode holds one of these and every Patch::Create takes one. Emitting a Create for an existing node is therefore an Arc::clone rather than a deep copy of the resolved IndexMap. Resolution itself (resolve_props_full) still allocates fresh on every call — the Arc is only for downstream sharing, not for any form of caching across state updates.

Aliased Type§

pub struct ResolvedProps { /* private fields */ }