News for hackers. Stuff that matters.
Re:Ask HN: I'm away from the software industry since 2017; w... by pottertheotter on Sunday February 23, 2020 @09:54PM (#22401253)
>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.

Re:Ask HN: I'm away from the software industry since 2017; w... by davidfstr on Sunday February 23, 2020 @11:54PM (#22401758)
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.

Re:Ask HN: I'm away from the software industry since 2017; w... by andrewzah on Sunday February 23, 2020 @10:18PM (#22401352)
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.

Re:Ask HN: I'm away from the software industry since 2017; w... by physicles on Sunday February 23, 2020 @11:02PM (#22401541)
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.

Re:Ask HN: I'm away from the software industry since 2017; w... by leeman2016 on Monday February 24, 2020 @07:10AM (#22403381)
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.
Re:Ask HN: I'm away from the software industry since 2017; w... by elialbert on Monday February 24, 2020 @10:13AM (#22404643)
same here - using svelte in production and it rocks.
Re:Ask HN: I'm away from the software industry since 2017; w... by jppope on Sunday February 23, 2020 @11:47PM (#22401728)
Vue is definitely a better framework, and for built for larger projects (performance)... but React got the first mover advantage after angular abandoned it. ¯\_(ツ)_/¯
Re:Ask HN: I'm away from the software industry since 2017; w... by ulisesrmzroche on Monday February 24, 2020 @11:00AM (#22405170)
The Vue bubble is a real thing.
Re:Ask HN: I'm away from the software industry since 2017; w... by jppope on Monday February 24, 2020 @02:25PM (#22407431)
Huh?
Re:Ask HN: I'm away from the software industry since 2017; w... by nwsm on Monday February 24, 2020 @10:00AM (#22404490)
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.

Re:Ask HN: I'm away from the software industry since 2017; w... by keithnz on Monday February 24, 2020 @03:39PM (#22408199)
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.
Re:Ask HN: I'm away from the software industry since 2017; w... by Aeolun on Sunday February 23, 2020 @11:39PM (#22401688)
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.
Re:Ask HN: I'm away from the software industry since 2017; w... by jjcm on Sunday February 23, 2020 @10:45PM (#22401474)
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