mobxjs / mobx-angular

The MobX connector for Angular.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New Mobx version

nicolidin opened this issue · comments

As Mobx is now in 6.0.1, this repository should add in the ReadMe and in the examples (should update mobx version) makeObservable(this) or makeAutoObservable(this) (if no decorators) in the constructor. If decorators is used "useDefineForClassFields": true should be added to in tsconfig.json too.

(if you validate I can create the pr)

True,
@nicolidin care to make a PR?
That would be very helpful for the repo and the community. Thanks!

@adamkleingit I am also faced with inconsistence of mobx-angular example and mobx documentation, so I created PR with these changes
#138

Thanks @EVASIVE, This has been merged (#138).
Closing.