[Vuejs]-Vue2: About data binding, when are references updated?

2👍

the problem is that you don’t need to use a bus to catch when a prop has changed.

What you are looking for are watchers, it will be triggered as soon as the prop being watch changes.

You can read more about watchers on the vuejs documentation.

https://v2.vuejs.org/v2/guide/computed.html#Watchers

Hope this helps you.

Leave a comment