Access update() callback in vue component

How can i use the update() callback in vue component instead of in main.js so I can listen for every scenegraph change.

The best way, in my opinion, is to use Vuex, you can simply dispatch the update() callback and fetch it with a getter in the component.

1 Like