News for hackers. Stuff that matters.

Vue vs. React

What is your favourite framework for tackling frontend web development projects - Vue or React?
( 20 comments | 13 points | on HN )
Re:Vue vs. React by marz0 on Friday August 07, 2020 @10:53AM (#24082488)
Vue is easier to get started with. React has more jobs [0]. They are both good choices and have a lot of community support.

[0] https://www.hntrends.com/2020/may-big-drop-developer-job-pos...

Re:Vue vs. React by potta_coffee on Friday August 07, 2020 @05:54PM (#24086851)
I picked Vue because I didn't care for JSX. Vue and React seem very similar conceptually but I don't have a ton of experience with React. I think they're both good choices. Vue has gained a lot of traction with Laravel developers which might influence your choice if you decide to use PHP and or Laravel.
Re:Vue vs. React by lukaszkups on Monday August 10, 2020 @06:58AM (#24107796)
Started with react but never got into it enough to finish anything production-ready. Then get hooked up with the Vue and now working with it for like 4 years now.

I've even wrote a note about it: https://lukaszkups.net/notes/thanks-to-vuejs-ive-found-front...

Re:Vue vs. React by codegeek on Friday August 07, 2020 @08:02AM (#24080965)
I personally found vue to be much easier to pickup compared to React so I would pick vue. But React is good enough as well I am sure.
Re:Vue vs. React by hvgoldie on Friday August 07, 2020 @08:26AM (#24081096)
nice - thanks for the comment!
Re:Vue vs. React by lmiller1990 on Friday August 07, 2020 @09:15AM (#24081422)
Used both for years in production. Maintain several core Vue libraries. Honestly I am happy with both - much of a muchness really.
Re:Vue vs. React by quickthrower2 on Friday August 07, 2020 @04:17PM (#24086014)
React, but that’s a fluke. I learned it first. I don’t see much advantage for me personally going and learning Vue.
Re:Vue vs. React by leejoramo on Saturday August 08, 2020 @07:03AM (#24090653)
Expand your search. Our team evaluated react and Vue a year ago . We ended up choosing Svelte. We love it.
Re:Vue vs. React by twright on Friday August 07, 2020 @12:40PM (#24083854)
Recently I've really been enjoying Vue. It feels lightweight and I feel like I have finer control over application state, flow, and UI. I like React too but I feel like the component lifecycle is a little more opaque and some bugs slip through. React hooks have certainly alleviated some of this.
Re:Vue vs. React by patatino on Friday August 07, 2020 @07:24AM (#24080721)
I like both, seriously. I have done projects in both. I would say the learning curve is steeper in React so if you have to pick one to get up and running fast maybe Vue is the better choice.

I liked learning Vue, but not so much learning React. But once it clicked with react it became my favorite.

Re:Vue vs. React by dave_sid on Friday August 07, 2020 @08:03AM (#24080969)
Is either one any easier when migrating an existing web?
Re:Vue vs. React by ioli on Friday August 07, 2020 @08:26AM (#24081098)
Vue is much easier in that sense. You can just import the library using <script src"<<vue cdn addr>>"></script> and you can start using vue right there.
Re:Vue vs. React by twright on Friday August 07, 2020 @12:51PM (#24083991)
I'm working in a large GWT codebase right now and I have this fantasy where I convert the app to Vue or React. I think React hooks would complement a lot of the current components which are table rows or data-helpers. That said I haven't looked at Vue 3 very much which is adopting a similar function-based component pattern.
Re:Vue vs. React by hvgoldie on Friday August 07, 2020 @08:18AM (#24081050)
yes this would be good to know!
Re:Vue vs. React by hvgoldie on Friday August 07, 2020 @08:17AM (#24081045)
Good insight thanks!
Re:Vue vs. React by floppiplopp on Monday August 10, 2020 @05:55AM (#24107413)
A matter of taste, but I really enjoy vuejs state management with vuex.
Re:Vue vs. React by speedgoose on Friday August 07, 2020 @07:47AM (#24080870)
I prefer vue because I'm not a fan of JSX in React and it's not made by Facebook. But it's pretty much the same.
Re:Vue vs. React by tsamtsam on Friday August 07, 2020 @12:44PM (#24083909)
React - the era of Hooks.

Vue - not very used to the template syntax.

Re:Vue vs. React by zhuziyi on Friday August 07, 2020 @07:37AM (#24080791)
react and vue.
Re:Vue vs. React by hvgoldie on Friday August 07, 2020 @08:18AM (#24081051)
haha thanks