vuejs / Discussion

Vue.js discussion
167 stars 17 forks source link

Not a question, just a positive thought #87

Open thelinuxlich opened 9 years ago

thelinuxlich commented 9 years ago

It's very cool to see that Ember is gravitating towards a simplification that is already true on Vue 0.11:

https://github.com/emberjs/rfcs/pull/15

yyx990803 commented 9 years ago

Yeah, I definitely noticed the similarities to Vue's API when I was reading it, and Angular 2.0 is also getting rid of controllers and moving toward a more class/constructor-based component paradigm.

thelinuxlich commented 9 years ago

Oh but Angular is doing too much, looks like it's getting even more cryptic.

yyx990803 commented 9 years ago

Yeah I'm just talking about the controller -> component paradigm shift specifically. Overall Angular 2.0 almost looks like a different framework, but it's too early to judge yet.

thelinuxlich commented 9 years ago

Will Vue follow the immutable trend too?

yyx990803 commented 9 years ago

Probably not, because Vue's observation mechanism is based on collecting dependencies on mutable objects. Immutability is more suitable/important for React because it re-renders the whole thing every time.