News for hackers. Stuff that matters.
Re:Angular 2 Fundamentals Course by kimshibal on Friday July 29, 2016 @12:03PM (#12187747)
Ignore both. Learn vue.js to get shit done.
Re:Angular 2 Fundamentals Course by ausjke on Friday July 29, 2016 @01:09PM (#12188211)
Wordpress goes with react, drupal picks angular2, and laravel favors vuejs.

This is no surprise, wordpress is extremely popular these days for all users, a huge angular2 client framework might be an overkill for many of its users. Drupal on the other hand is doing the more complicated websites, and its "ordinary" user base is shrinking, so angular2 might attract enterprise users.

Laravel is arguably the most popular PHP framework today, choosing vuejs as its client framework gave vuejs a strong boost for sure.

Re:Angular 2 Fundamentals Course by theprotocol on Friday July 29, 2016 @01:58PM (#12188592)
Agreed, Vue.js and Riot.js are both brilliant for actually getting things done without having to read a 100 page manual.

As for Vue vs Riot, it's subjective, but I'm personally partial to Riot due to its simplicity (albeit with a smaller feature list) and focus on components without being opinionated at all (not even regarding the toolchain).

Re:Angular 2 Fundamentals Course by sdegutis on Friday July 29, 2016 @12:05PM (#12187764)
That doesn't address the issues the comment just above you (at time of writing) brings up, namely that even with Vue you still need to set up all the tool chain around it, whereas Angular brings a lot of that to the table for you.
Re:Angular 2 Fundamentals Course by kimshibal on Friday July 29, 2016 @12:12PM (#12187803)
I handle a big React app at my job. It's messy as fuck with JSX. We made a transition to Vue. Couldn't be happier.
Re:Angular 2 Fundamentals Course by hugozap on Friday July 29, 2016 @12:26PM (#12187896)
What in particular about JSX makes it messy compared to vue? Messy template code can happen in both.
Re:Angular 2 Fundamentals Course by clivestaples on Friday July 29, 2016 @12:39PM (#12187998)
Vue templates support conditional rendering (v-if/v-show/v-else) which I didn't realize I missed until using them. Also, conventions around component data are really nice and help keep markup tidy and very readable.

I like to think of Vue as React with sensible conventions. That said, both are terrific and solve UI problems very elegantly.

Re:Angular 2 Fundamentals Course by troncheadle on Friday July 29, 2016 @01:07PM (#12188200)
React handles conditional rendering better imo. You use regular JS instead of having to learn a new API. You can use control logic in your render methods to great effect.
Re:Angular 2 Fundamentals Course by clivestaples on Friday July 29, 2016 @01:17PM (#12188275)
I definitely agree that React is clean for the reasons you state and I always enjoy building UIs with it. I suppose my comment was just a reflection on the differences that I found refreshing - to my surprise.
Re:Angular 2 Fundamentals Course by sotojuan on Friday July 29, 2016 @12:52PM (#12188099)
So it's your engineer's fault. Plenty of companies get stuff done with React everyday.
Re:Angular 2 Fundamentals Course by huskyr on Friday July 29, 2016 @12:30PM (#12187935)
If you want, you can use Vue.js just like jQuery. Pop it in a <script> tag and you're done. No tool chain needed. I do that all the time for small-medium sized projects and it works absolutely fine.