News for hackers. Stuff that matters.
Re:Why we chose Vue.js over React by jplusplus on Sunday December 11, 2016 @11:04AM (#13151596)
I believe React is popular (among other reasons) because you don't need to learn what is v-if v-else and other repeative commands when you have plain and simple JS equivalents.

React has te philosophy "It jusy works", and people love this

Re:Why we chose Vue.js over React by k__ on Sunday December 11, 2016 @11:10AM (#13151626)
Yes, I think the main selling point of React is it's tiny and intuitive API.

I don't know how these frameworks compare in bigger sized applications, but if you just do a POC in Angular2, React and Vue.js, then React beats all of them. This probably leads to many people considering React for their new applications.

If you go for bigger stuff, I don't know which would be better. I like React, but I also found it a bit cumbersome to create all these Redux actions and stores etc. Also async stuff, especially righ datarate websocket stuff, seem a bit awkward with Redux.

Re:Why we chose Vue.js over React by Bahamut on Sunday December 11, 2016 @11:50AM (#13151853)
Do you have numbers? Angular 2 is quite small if you're using treeshaking.
Re:Why we chose Vue.js over React by k__ on Sunday December 11, 2016 @12:25PM (#13152023)
I mean API size and concepts, not size on disk.

React is quite big, I think about 50kb.

Re:Why we chose Vue.js over React by boubiyeah on Sunday December 11, 2016 @12:07PM (#13151940)
Not really; it has a big unshakable core
Re:Why we chose Vue.js over React by Bahamut on Sunday December 11, 2016 @12:19PM (#13151987)
Got numbers? I know someone who was able to get a simple app down to below 30kb including polyfills (albeit with a lot of work using Google Closure), and from what I understand that was before AoT compilation was there.

Much of the core is shakeable, I don't believe your assertion at all. As you use more features, the app size would grow would be true due to using parts that were previously shakeable becoming unshakable, but that complexity being in a unified language/base of a framework worked on by very smart people is most of the time better than homebrewed business logic by an above average developer

Re:Why we chose Vue.js over React by staircasebug on Sunday December 11, 2016 @12:10PM (#13151951)
Any developer familiar with mustache templates, Backbone and/or Angular should immediately pick up Vuejs templating. For me and most others I've heard from, the cognitive overhead was minimal.