protocol PrimitiveMount
Swift
protocol PrimitiveMount
Required retained-tree construction for primitives. No default.
Sources/LavaUI/View.swift:82
Methods
func mountPrimitive() -> any AnyViewNode
Create a new retained node (and its Yoga node, if any).
Sources/LavaUI/View.swift:84
func reconcilePrimitive(_ node: any AnyViewNode) -> any AnyViewNode
Update node in place when types match; otherwise remount.
Sources/LavaUI/View.swift:87