DEV Community

Johnathon roy
Johnathon roy

Posted on

Vuejs Vs Reactjs

Javascript has single-handedly captured the web applications domain by making intelligent use of its frameworks and libraries like ReacJs and VueJs. No doubt it is the most useful and popular framework of our times, especially known for providing higher performances and ease of learning.

In addition, both the frameworks are extensively employed for designing the User interfaces and also used for working with the root library. And they have certain similarities too in reactivity, presence of virtual DOM model and component-based structure.

Hopefully, this comparison will make you select the best framework for your business challenges and requirements in accordance with your project requirements, the expertise of the developers, market trends and insights.

VueJs is simpler, it features a lot of concepts from Angular 1 and React. You can use it without any build system — just include it in the HTML file. React is bigger and a little more complex (e.g. in terms of setting up).

Comparing VueJs and ReactJs

Top comments (6)

Collapse
 
bitecode profile image
BC

React Is Better Than Vue.js when there is no requirement to build mobile apps ..

Is this correct? Because I think if there is a requirement to build mobile apps, react is a better choice. You wrote a “no” requirement there, typo?

Collapse
 
mindplay profile image
Rasmus Schultz

Preact.

Simpler, smaller and faster than either React or Vue, with all the features anybody cares about.

Throw htm in the mix and you've got a build-free architecture with a net 4 kb total footprint.

You'll need more to sell me on either Vue or React. 😏

Collapse
 
markohologram profile image
Marko A

To be honest this is pretty low effort. You need way more than 4 paragraphs of text to compare these two.

And your conclusion about React needing a build system is also incorrect. You would know that if you read first couple of pages of React documentation.

Collapse
 
robertomaurizzi profile image
Roberto Maurizzi

... like we had a choice about using JavaScript. Can't wait for WASM to reach the point many other languages are decently supported.

Collapse
 
seanmclem profile image
Seanmclem • Edited

React can also be added to an HTML file pretty easily with "a few lines of code and no build tooling"
reactjs.org/docs/add-react-to-a-we...

Collapse
 
rajab512 profile image
Rajab512

What the he**
Is that enough
Why didn't you argue that

???