Class to track object changes and patch mechanism to support updating immutable/frozen objects.
applyAndReturnPatches for simple use-cases.
As soon as you change values in
value, this patches object fills up.
Note: It does not resolve array operations. That means if you have a T shape of
value.items.push('another'), then patches contains
By updating certain values on this object,
value property of this class will be changed accordingly,
while only touching and de-referencing the property values that are absolutely necessary.
This is the object with the same shape and origin values as T and SHOULD NOT be changed.
proxy when you want to apply changes.
Generated using TypeDoc