mobx-keystone
Advanced tools
Changelog
0.22.0
tProp
syntactic sugar for optional primitives with a default value.String
, Number
, Boolean
, null
, undefined
as aliases for primitive types.findParentPath
.Changelog
0.21.0
$
). This means that properties are now direct children of model objects, which should be cleaner and more understandable.Changelog
0.20.1
rootRef
resolution when the node cannot be resolved.Changelog
0.20.0
isRefOfType(ref, refType)
to check if a ref is of a given ref type.getRefsResolvingTo(node, refType?)
to be able to get back references that are currently pointing to a node.Changelog
0.19.0
setDefaultComputed
and getProviderNode
to contexts.getChildrenObjects
will now never report interim data objects ($
).getChildrenObjects
and onChildAttachedTo
.rootRef
s.Changelog
0.18.0
getRefId()
method that can be automatically used by custom references to get their ids, thus making getId
for custom references optional now.