4 ms·
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
by jaequery 10y ago
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.
- danabramov 10y agoI 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.
- simonw 10y agoCould you expand more on "Facebook doesn't build single-page apps in React"? I hadn't heard that before.
- lucasmullens 10y agoLike, facebook.com isn't one big single-page React app. They use it for specific pages/features.
- deleted 10y ago[deleted]
- irrational 10y agoWait, do people use React for non-SPA websites?
- Ralfp 10y agoYep! I find myself using React.js for complex forms/wizards on non-SPA websites far more often than using it to build SPAs.
- phpnode 10y agoOf course, hence the focus on server-side rendering. It is quite difficult to do properly though. Facebook itself is not a single page application.
- ioseph 10y agoAbsolutely! 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.
- tnjm 10y agoI 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.
- keyanzhang 10y agoIsn't https://messenger.com https://messenger.com a SPA?
- ng12 10y agoI 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.