A tree data structure that emits events on updates, even if the modification is triggered by one of the leaves, making it easier to think in a reactive way.
singleParent
that prevents the same node to be added twice into the the state tree. Thanks to @nathanial.trigger
method deleted by errorsort
for array.trigger
method for events has been renamed to emit
, added a deprecation warning for trigger
method.update
event handlers now receive the previous state as second parameterundefined
.freezeInstance
option to keep working as v0.10.getEventHub
method.