DEV Community

Discussion on: Vue vs React 2022 - Which One Is Better for Your Project

Collapse
 
codebytesfl profile image
codebytesfl

I don't find this to be a very thorough comparison and more of an opinion. There is no data to back some of the claims. What are the metrics for claiming vue is faster than react? What are the numbers for the claim that vue has more packages than react? It says that Netflix uses vue but in reality they also use react and vanilla javascript.

I've worked on various enterprise application and some of these comparisons wouldn't be valid. I have personally used both. For example the performance comparison in a real world application we've tested the same app in vue and react. in some tests react performed better and in other vue performed better. But the difference was by mere milliseconds. That is simply not profound enough to claim that one of vues strength is excellent performance while it is not a strength of react.

Collapse
 
jamesthomson profile image
James Thomson

Exactly my thoughts while reading this. Both have their pros and cons, but I don't find this article really dives into those.

Some of the leading names in the industry that use Vue include Adobe, Alibaba, GitLab, WizzAir, Netflix, and even NASA! Out of all the JavaScript frameworks on the market today, Vue is one of the rare few to achieve this level of widespread adoption.

This is also a pretty broad claim. Most of these sites use Vue in a very small context compared to the rest of their architecture. Don't get me wrong, it's great to see, but it makes it sound like they're using it as part of their core.

I've used both Vue and React extensively and my conclusions have been this: Use Vue for smaller, short lived projects. Use React for mid-large, long lived projects. Obviously that's not a stedfast rule, but until Vue 3's ecosystem stabilises (and hopefully stays that way!), I've ruled it out for long lived projects.

Also, where's the discussion on Typescript support? That's a pretty big consideration these days, IMO.

Collapse
 
rxliuli profile image
rxliuli

I once wrote an article about the use of vue3, and earlier, I also wrote an article on the reasons and feelings for migrating from vue to react

Collapse
 
codebytesfl profile image
codebytesfl

This has also been my conclusion after using both for years now. We will typically pick up for Vue for something non complex (think like a coffee shop website, blogs, simple SaaS apps) and React for large and complex stuff (think large SaaS apps, heavy reactivity etc).

Typescript is incredibly important as well for us and was the main reason we moved from Vue 2 to Vue 3 for any Vue projects. The composition API also brought React like thinking which I enjoyed, but current am not satisfied with the current eco system for Vue 3, so maybe I will revisit it when the ecosystem has caught up.