mobxjs / mobx-vue

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

updated hook not called #28

Open dmitriyzhirma opened 5 years ago

dmitriyzhirma commented 5 years ago

Updated hook not called after model update

Demo: https://codesandbox.io/s/24ov7q1pnj

marsprince commented 5 years ago

Updated hook not called after model update

Demo: https://codesandbox.io/s/24ov7q1pnj

Model's change doesn't trigger updated method because it is not in data. Observable data will be directly defined in vm instead of data with function collectData.

ya-tmch commented 5 years ago

How to determine if a component has been updated? To use the new links $refs.

planaria commented 4 years ago

I need notification after update for rendering with three.js. Are there any alternatives?