News for hackers. Stuff that matters.
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.