-
Is mutating an item inside of an array, like this `todoStore.todos[index].setDone(true)` supported?
```
export class TodoModel extends Model({
todos: prop(() => []).withSetter(),
})
```
I'…
-
When testing keystone models that have "ref" properties it can be tedious to have to setup a root model that contains the referenced model before testing the referencing model so I think some sort of …
-
I apologise if this is the wrong place for this. But I really wanted to get across to the library's creator, @xaviergonz
I've been using mobx-keystone for about a month now and I've never been so i…
-
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 Model({array: prop(() => []) …
-
The rationale is to keep multiple (huge) collections consistent / in sync, without the need to recalculate the derived from scratch.
Eg. if I `set` an ObjectMap's key to 10, I'd like to subscribe t…
-
`mobx-keystone` is opinionated about structuring data in a tree. This strong assumption enables many useful features such as references, snapshots etc. for which `mobx-keystone` has first-class suppor…
-
This is fantastic and I'm eyeing it for a project I'm starting. I've used Redux and find the entire Flux pattern ecosystem incredibly tedious. Been using Mobx successfully for years(with React and Vue…
-
There's been some discussion of this in a couple places so I thought it might be useful to have a separate issue about it. https://github.com/xaviergonz/mobx-keystone/issues/299 https://github.com/xav…
-
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 by means of a gene…
-
Getting an example of using mobx-keystone into Next.js (perhaps a Todo app) would do wonders for its adoption.