Upgrade to MobX 6
Opened this issue · 1 comments
tommoor commented
MobX 5 removed decorator support which is why we didn't upgrade, it felt like a massive downgrade for DX. With MobX 6 decorator support is back, so upgrading should be relatively straightforward and makes sense to do to keep uptodate with the ecosystem – ref:
https://mobx.js.org/enabling-decorators.html
The main difference is that an accessor
keyword is required on observable.
linear commented