Intermact API Reference / @intermact/core / applyPatch2D
Function: applyPatch2D()
applyPatch2D(
state,changes):RuntimeState2D
Defined in: packages/core/src/runtime/state.ts:128
Apply an immutable patch, returning a new RuntimeState2D (structural sharing for unchanged branches). Order-independent merge of known fields.