DEV Community

Discussion on: React or Vue, which JS framework is best?

Collapse
 
codewithshahan profile image
Programming with Shahan

Vue.js = React.js
Next.js = Nuxt.js

But Angular is a bit different from React. Angular is a full-fledged front-end framework. React uses one-way data binding and virtual DOM trees, whereas Angular uses two-way data binding and real DOM.

Vue. js provides both the one-way data flow & two-way data flow binding for web applications. There is no need to write complex code for two-way data binding, unlike other frameworks.

So, Vue combines the best features of Angular and React in one place.

Let's put aside any naming conflicts. They're just confusing.

Thread Thread
 
nbouvrette profile image
Nicolas Bouvrette

My bad, I forgot about Nuxt. But keep in mind, Vue.js has this header on their homepage: "The Progressive JavaScript Framework."

Now, what does this mean if you compare this to React? It means that it has more out-of-the-box features, such as a router and state management.

But I do agree that Nuxt is more similar to Next.js since they solve common problems.

We just have to keep in mind that if we compare React and Vue.js, they don't come with the same out-of-the-box capabilities.

Thread Thread
 
jesusantguerrero profile image
Jesus Guerrero

React is a factual framework, even when it claims to be a library, it's its code that uses your code to do things(and that's the definition of a framework) and it will be more palpable when React ships its compiler.

The difference you are referring to is whether react is an all-bat included framework or not. which is valid as React offers just the UI part and lets the store management, routing, etc to well-known external libraries, and Vue is a progressive framework.