News for hackers. Stuff that matters.
Re:Why we chose Vue.js over React by jaequery on Sunday December 11, 2016 @12:28PM (#13152035)
Basically React seemed immature, as if it wasn't thought out fully but just hacked together.

Vuejs seems like what React could've been if it was thought out a Bit more. It just feels a lot more polished.

Honestly I think Vue is so far ahead of the curve it isn't a surprise to see more people switch away from React.

Re:Why we chose Vue.js over React by danabramov on Sunday December 11, 2016 @01:42PM (#13152402)
I wouldn’t say React is “hacked together”. Perhaps you are referring to the React ecosystem? Facebook doesn’t build single-page apps with React, so naturally it doesn’t provide solutions for routing and similar concerns, so there is more churn as people are figuring this out together.
Re:Why we chose Vue.js over React by keyanzhang on Sunday December 11, 2016 @06:20PM (#13154094)
Re:Why we chose Vue.js over React by simonw on Sunday December 11, 2016 @02:55PM (#13152812)
Could you expand more on "Facebook doesn't build single-page apps in React"? I hadn't heard that before.
Re:Why we chose Vue.js over React by lucasmullens on Sunday December 11, 2016 @04:35PM (#13153432)
Like, facebook.com isn't one big single-page React app. They use it for specific pages/features.
Re:Why we chose Vue.js over React by irrational on Sunday December 11, 2016 @03:05PM (#13152867)
Wait, do people use React for non-SPA websites?
Re:Why we chose Vue.js over React by tnjm on Sunday December 11, 2016 @07:06PM (#13154392)
I use React all the time for individual components on server-rendered pages. It feels like a natural extension to formerly monolithic Rails/Node/etc apps.

That said, when an SPA is called for I'd far rather use Ember and get routing, state and a hundred other things for free, without needing to bolt together an entire front-end framework from parts each time.

Re:Why we chose Vue.js over React by phpnode on Sunday December 11, 2016 @04:02PM (#13153192)
Of course, hence the focus on server-side rendering. It is quite difficult to do properly though. Facebook itself is not a single page application.
Re:Why we chose Vue.js over React by Ralfp on Sunday December 11, 2016 @03:59PM (#13153175)
Yep! I find myself using React.js for complex forms/wizards on non-SPA websites far more often than using it to build SPAs.
Re:Why we chose Vue.js over React by ioseph on Sunday December 11, 2016 @06:20PM (#13154095)
Absolutely! I'm current using it for a entirely back-end routed Symfony app. It's perfect for any front-end stuff complex enough that jQuery would become a mess.
Re:Why we chose Vue.js over React by ng12 on Sunday December 11, 2016 @04:20PM (#13153334)
I completely disagree. Vue seems like a step backwards for me -- it does very little that I couldn't do with Backbone/Marionette. I don't want templates, I don't want data-binding, and I DEFINITELY don't want opaque directives in my HTML.