mobx-state-tree
Advanced tools
Changelog
2.0.3
Changelog
2.0.0
Breaking changes
types.map(subType).keys()
will return Iterator
instead of ObservableArrays
. In order to address this issue, wrap the keys with Array.from()
.Changelog
1.4.0
Features
getIdentifier
is now exposed as function, to get the identifier of a model instance (if any). Fixes #674 through #678 by TimHolliesFixes
put
operation was used. Fixed #683 and #672 through #693tryResolve
could leave a node in a corrupt state. #668 by dnakovChangelog
1.3.0
actionLogger
middleware, which logs most events for async actionsafterAttach
will no fire first on the parent, then on the children. So, unlike afterCreate
, in afterAttach
one can assume in `afterAttach that the parent has completely initialized.Changelog
1.2.0
model.volatile
to more easily declare and reuse volatile instance state. Volatile state can contain arbitrary data, is shallowly observable and, like props, cannot be modified without actions. See model.volatile
for more details.