mobxjs / mobx-vue

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

Vue 3 Compatibility #50

Closed doc987 closed 3 years ago

doc987 commented 4 years ago

mobx-vue doesn't seem to work with Vue 3 (https://v3.vuejs.org/). Is there going to be an update for that?

ProTip commented 3 years ago

Vue 3 has just been released. I'm somewhat familiar with the existing binding code, but Vue 3 has been re-written and I have yet to really find the lifecycle and re-render code haha. Once I can make sense of it I may be able to write new bindings..

AllenMRbai commented 3 years ago

hope mobx-vue support vue 3 too. our team want to refactor old project into vue 3. vuex is complex , so we want to use mobx instead. however, there haven't lib support vue 3 yet.

doxiaodong commented 3 years ago

Hello, I support vue3 with observer in https://github.com/umijs/neeko/blob/master/src/vue/observer.ts. Hope it useful.

anri-asaturov commented 3 years ago

I just tested mobx-vue with vue@3.0.11class component and mobx@6.1.8 and it works. What am I doing wrong?

wobsoriano commented 3 years ago

https://github.com/wobsoriano/mobx-vue-lite

iChenLei commented 3 years ago

https://github.com/mobxjs/mobx-vue-lite , look here