Re:Angular 2 versus React
by fouadf on Monday January 04, 2016 @02:44PM
(#10837971)
What's your take on vue.js?
[ Parent
| on HN ]
I quite liked Vue.js, but I really don't like how it takes the Angular approach of putting 'js in your templates' (sort of). Furthermore, while I'm holding off on 'universal apps' for now, I love being able to use React server-side. If a component needs client-side functionality (sliders, navigation etc.), it's trivial for me to create one component that renders a simple server-side version and then initializes the same component client-side with all the logic it needs.
Last I checked (about two weeks ago I think) server-side rendering was not possible yet in Vue.js.
All that said I'm quite likely to use Vue.js instead of jQuery for many of the use-cases where I would use jQuery instead of React. It's quite impressive!
I find Vue.js to be so refreshing that it's a shame everyone is so obsessed with Angular.js and React. For me it has been the best of the bunch.
I've used it for three projects so far, and I'm in love. The syntax is so clean, super easy to learn, and quick to get going. Bind to a parent element, add your data vars, methods, and add your data bindings. Done. It's certainly not as heavyweight as Angular, and that's a good thing. I played with the other big frameworks, and they were so complex for even the basics. I get 99.9% of the work done that I need to with it and should be at the top of these framework lists.
Re:Angular 2 versus React
by mosquito242 on Monday January 04, 2016 @06:01PM
(#10839439)
Huge fan of Vue.js. Clean, lightweight, very easy to learn, use and build powerful functionality with.