mobxjs/mobx-vue

updated hook not called

dmitriyzhirma opened this issue · 3 comments

Updated hook not called after model update

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

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.

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

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