Live data from Hacker News

Announcing Vue.js 2.0

medium.com

41–50 of 59 posts

Re: Announcing Vue.js 2.0

#42
post #35

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?

https://github.com/vuejs/vue/wiki/2.0-features#how-to-deal-w...

Oh nice! That must have been added after my comment.

Re: Announcing Vue.js 2.0

#43
post #35

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?

https://github.com/vuejs/vue/wiki/2.0-features#how-to-deal-w...

That's a lot easier to reason about than broadcast and dispatch; I like the change.

Re: Announcing Vue.js 2.0

#46
post #12

Vue.js is amazing. I've been using it on one of my side projects and I've been so productive with it that I can't see myself ever using anything else. It's like a mix of React, Angular and Knockout all in one package.

Anything in particular you like about it? I'm trying to find a reason to learn Vue, but I like React so damn much!

if you like react, then, imo, you should stick with react.

What i find best about vue is that lack of boilerplate and jsx. Vue's scoped css + css preprocessor+ auto-prefix combo is a huge step toward modular css. I am certain that other libraries and framework will copy it soon enough.

Post reply on HN