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
When updating the mobx-keystone package in a react native app from v0.54.0 to v0.55.0 i have the following error: ```CLI ERROR TypeError: undefined is not a function, js engine: hermes...
I'm at my whits end with redux and the boilerplate involved. I have so many re-draws its outrageous. I'm looking at MobX and keystone seems to be really promising. Questions...
https://codesandbox.io/s/mobx-keystone-static-method-problem-4thb2?file=/src/index.tsx ```ts import { Model, tProp, model } from "mobx-keystone"; @model("BuggyModel") class BuggyModel extends Model({ value: tProp("1") }) { static foo() { return new BuggyModel({}); } } const a =...
Hello, I use mobx-keystone in a project where i'm managing big amount of data that I get from api call. The model that I receive are not mobx-keystone snapshot but...
In my (MST) app I have encountered the need to be able to cancel flow actions. Does mobx-keystone support this or could it easily support it? There's a longstanding MST...
It seems like models with `valueType: true` are meant to be thought of like structs, and as such one would expect setting a valueTyped prop to a new model with...
I have a working solution in a typescript project. When I watch for changes using onSnapshot and onPatches within that project, it works perfectly. However when I move the exact...
Say I have a model `Guests` with an array of model `Guest`. Then I have a computed value which is some subset of the array. ``` @model('Guests') class Guests extends...
With your permission @xaviergonz I'd like to add mobx-keystone's logo as an icon to https://simpleicons.org. It's a large collection of brand icons and, e.g., shields.io uses it for badge icons....
Hello, I made an example branch (https://github.com/hersentino/mobx-keystone-issue/tree/middleware) which shows that actionTrackingMiddleware has some slowness even if onStart/onEnd do nothing. Just calling it takes about 25ms. 50 ms if the data...