Kuitos

Results 152 comments of Kuitos

Could you please provide a minimal codesandbox reproduction?

could you pls provide some code example? @kpdemetriou

How to reproduce the error? @kpdemetriou

It's so great that met someone thought the same! 1. Usually we use store in a singleton way, which means they are global and that is what redux and vuex...

@xrado good question! Actually that is what made me in a dilemma. I think one component should bind with one ViewModel, and the ViewModel could composed by multiple store and...

Released v2.0.0! @nighca @xrado

@nighca Automatic instantiation will introduce several new issues which should not simply construct the ViewModel with `new`, also applies to di system. Look such a scenario: ```ts class ViewModel {...

The component which you used try to re-define the property of observable of mobx, use a non-mobx observable data or `observable.ref` instead. ```js class Model { @observable.ref data = []...

do not modify the array with `push` or `splice` or such way, modify the reference instead. check the doc https://mobx.js.org/refguide/modifiers.html#reference-observability

What u decorated with `observable.ref` was `val` rather than the nested `val.b.test`, so re-assign `val` with a new reference then the reaction would be triggered. ```js handleChangeModel() { this.model.val.b.test =...