Vue vs. React

13 points by hvgoldie ↗ HN
What is your favourite framework for tackling frontend web development projects - Vue or React?

21 comments

[ 1.5 ms ] story [ 55.2 ms ] thread
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.

Is either one any easier when migrating an existing web?
yes this would be good to know!
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.
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.
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.
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.
nice - thanks for the comment!
Used both for years in production. Maintain several core Vue libraries. Honestly I am happy with both - much of a muchness really.
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.
React - the era of Hooks.

Vue - not very used to the template syntax.

React, but that’s a fluke. I learned it first. I don’t see much advantage for me personally going and learning Vue.
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.
Expand your search. Our team evaluated react and Vue a year ago . We ended up choosing Svelte. We love it.
A matter of taste, but I really enjoy vuejs state management with vuex.
React, hooks and JSX are amazing.