Hacker News new | ask | show | jobs
by pottertheotter 2308 days ago
>React has essentially won the mindshare battle

I'm looking to learn a front-end framework and had a few people recommend Vue. Sounds like maybe I should go for React instead? In case it matters, I'm not looking to be a front-end developer. I'd mainly like to improve some small projects I have. And get the most value out of my time learning a framework.

7 comments

At my company we decided to go with Vue and not React about a year ago, mainly to avoid the complex tooling that React absolutely demands that you add to your JS build process.

And we still like Vue a year later. It integrates well with the rest of our site, much of which still has not been rewritten in the functional-reactive style yet. And not having to do a full-on transpile/build step during development is a huge win for reducing cycle times.

As a backend developer who makes frontends for his projects, I enjoy Svelte. I found React to be quite complex when I tried learning it last year.

I’d use vue if not for svelte, probably.

I'm in the same boat, and also love Svelte and wish it success.

Svelte's reactivity was also something we had in Splash, the Microsoft-internal UI framework that was used to build the Zune desktop app and Windows Phone 7/8. I haven't enjoyed building UI since then, but with Svelte I can finally enjoy frontend development again.

Found svelte 3 after Rich's talk and managed to complete a production app using it. Found it not only a lot easier, but almost flawless.
same here - using svelte in production and it rocks.
Vue is definitely a better framework, and for built for larger projects (performance)... but React got the first mover advantage after angular abandoned it. ¯\_(ツ)_/¯
The Vue bubble is a real thing.
Huh?
Vue will be much more understandable. I've used both pretty extensively (React at work and Vue at home.) and I like both. React definitely feels more complex but there is also a lot more OSS to pull from.

One thing I don't like about React is that there are so many ways to skin a goat. We write functional components, and while I like them, this instantly makes half of google search results at least slightly irrelevant. However Vue is kind of doing this as well with the Vue 3 syntax change with backwards compatibility.

having done both vue and react on various things for the last few years, we ended up choosing vue for all future developments. But React is definitely way more popular ( and more marketable) they both can be used for large and small development. The upcoming Vue 3 is looking like a good progression too.
React itself is nice and simple, but all the cruft needed to run it is a bit off putting. If you’re happy to have a meg of app code you can build great things though.
Depends on what kind of project you're doing. Vue is still great for smallish projects, but if you're looking to make yourself marketable React is the way to go. For future proofing yourself, it might be worth looking into webcomponents as well. Likely there wont be anything built using them directly, but there are a bunch of new frontend frameworks that utilize them (stencil for instance). Next gen frameworks will highly likely take advantage of shadowroots and other parts of the spec under the hood, so it might be worth understanding that stuff now.

TL;DR

For resume building + career growth -> learn react

For quick and dirty side project -> use vue

For future proof / bleeding edge understanding -> use webcommponents