mobx-keystone
Advanced tools
Changelog
0.67.1
Changelog
0.67.0
getSnapshot
calls) by delaying the immutable object creation to the point when getSnapshot
is called.Changelog
0.66.0
@computedTree
decorator for reactively deriving an alternative view of an original tree that is attached as a property to the original tree to support tree traversal functions, contexts, references, etc. (see "Computed Trees" section in the docs).Changelog
0.65.0
Maximum call stack size exceeded
getting triggered when onAttachedToRootStore
was defined and many nodes were added at once.stringToBigIntTransform
.undefined
, bigint
and special number
values NaN
/+Infinity
/-Infinity
.Changelog
0.64.1
Changelog
0.64.0
types.ref
now takes as an argument the reference constructor it needs to check for.tProp
is used instead of prop
then $modelType
won't be needed in input model snapshot for that particular property. As a side effect, $modelType
is now marked as optional in types. Note that for this to work for a root model instead of a sub-property you will need to use the new fromSnapshot
overload that takes a type as first argument. For untyped compatibility reasons, getSnapshot
will still return $modelType
even for typed models.withSnapshotProcessor
to class model properties.types.model(...)
(except in recursive / self-recursive cases).Changelog
0.63.2
$modelId
as string | undefined
. Now it will be typed as string
when there is an idProp
and never
when there is not.