mobx-keystone
mobx-keystone copied to clipboard
A MobX powered state management solution based on data trees with first class support for Typescript, support for snapshots, patches and much more
It seems that just creating a new reference to a tree node is enough for `getRefsResolvingTo()` to return a Set with one Ref pointing to this tree node. My question...
For big projects that have a number of circular references, `types.model(() => SomeType)` is great for breaking the cycle and allowing types to reference themselves by not strictly requiring them...
It seems using different compiler settings for MobX 4 and 5/6 isn't necessary. Do you think this is generally valid? At least the test suite passes.
We're looking at switching over to mobx-keystone from mobx-state-tree, and one tiny feature we've come to really appreciate in MST is a per-model id generator function. AFAICT, keystone currently supports...
I noticed that I have a sufficient performance decrease when one model action calls another model action in the loop due to it having been logged to redux devtool. It...
Since non-primitive values can appear in the tree only once, assigning a statically defined object to two different models will result in the `an object cannot be assigned a new...
While adding the `stringToBigIntTransform` prop transform, I found it not very intuitive to give the prop the encoded type (e.g. `string`) and then apply a prop transform to get the...
Though I can have `@observable` properties instead of the `Member` extended properties, which is not contained in a snapshot, those `@observable` properties do not generate patches. I need a way...
In continuation of #239, I'd like to discuss an idea for generic models with runtime type-checking without using a class factory. In #242, support for truly generic models was added...