mobxjs / mobx-vue

🐉 Vue bindings for MobX
MIT License
475 stars 22 forks source link

TypeError: reaction.getDisposer is not a function #57

Closed MisicDemone closed 3 years ago

MisicDemone commented 3 years ago

codesandbox: https://codesandbox.io/s/gallant-butterfly-3clxm

Maybe it should be reaction.getDisposer_?

standbyoneself commented 3 years ago

No, it shouldn't. Change MobX version to 5.x.

abreumatheus commented 3 years ago

I'm facing the exact same issue, and i don't think "Go back to 5.x" is a great answer. Everything is working fine here, but i'm getting this warning on the console.

asd116725 commented 3 years ago

Change MobX version to 5.x.

It can be worked. Change MobX version to 5.x.

EthianWong commented 3 years ago

@doxiaodong @kuitos @azzra Can MobX v6 be supported?

iChenLei commented 3 years ago

Will release a v2.1.0 to support mobx v6 later @EthianWong @MisicDemone

iChenLei commented 3 years ago

v2.1.0 released, support mobx v6, but this is a breaking change, v2.1.0 not support mobx v2/v3/v4/v5!