Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dabernathy89
· 10y ago · 0 comments
As far as the API goes, looks like one of the big changes is dropping vm.$dispatch and vm.$broadcast. I see a mention of a global event bus - are there any examples of that somewhere?
Comments
[–]
elricpp
10y ago
https://github.com/vuejs/vue/wiki/2.0-features#how-to-deal-w...
[–]
dabernathy89
OP
10y ago
That's a lot easier to reason about than broadcast and dispatch; I like the change.
[–]
dabernathy89
OP
10y ago
Oh nice! That must have been added after my comment.