DEV Community

R A M
R A M

Posted on

VueJS or ReactJS

Whats the best front-end to study? Vue or React?

Top comments (35)

Collapse
 
rgolawski profile image
Rafał Goławski

There's no simple answer to that question, as it really depends on what you need. Do you want to find a job in a front-end field? Then bet on React as it has bigger community and ecosystem, hence there's a bigger chance to land a job. Do you care about performance? Then choose Vue, it's smaller and faster, also I personally think it's more fun to work with. Try both and decide yourself. 👍

Collapse
 
alec profile image
Alexey Poimtsev

What about Svelte?

Collapse
 
stevet profile image
Stephen

Yeah I did come across Svelte, and it sounds great (no virtual DOM, less boilerplate, reactive by default, and more intuitive / easier to learn), but figured it would be safer to go with a more popular (and mature?) framework that has a larger community.

Collapse
 
kaowebdev profile image
Андрей

I hope it's a joke?)

Collapse
 
alec profile image
Alexey Poimtsev

No, it's not. I tried different frameworks, but personally for me - Svelte is a best framework I've ever tried. But I'm a fullstack (backend in most) dev, so my choice is good for my requirements which is different with yours.

Collapse
 
ramonortegajr profile image
R A M

Is this good for beginners?

Collapse
 
alec profile image
Alexey Poimtsev
Collapse
 
fiktif3000 profile image
Kefi AGBEKO

I have heard that between Vue, React and Angular the easiest one is Vue followed by React, and Angular is the hardest one.
Personally, I would like to use the easiest one which is Vue but I will try React too. I do not know for Svelte.
I do not think I need to know all of them.

Collapse
 
ramonortegajr profile image
R A M

should i choose Angular the hardest one so the if i switch to react and vue it would be easy?

Collapse
 
jeromevillamor profile image
Jerome Ryan Villamor

You shouldn't. Angular is not superior to vue and react. It is harder in a sense that the two frameworks do better compare to Angular.

Collapse
 
kyleljohnson profile image
Kyle Johnson

When deciding... Ask yourself, why make things hard? Is there something one is doing that makes what you are trying to do easier. No one cares, especially customers, which one you choose. I think people put to much emphasis on skills where the ability to learn and passion is way more important as a developer.

Collapse
 
himisocool profile image
Matthew

React is harder to work with imo, there's a lot of information that you have to learn where vue can let you get away with more and not have to know why something does or doesn't work.

After react 19 and they release their compiler it might be more equal in that regard.

Collapse
 
dagnelies profile image
Arnaud Dagnelies

Personally, I prefer Vue. However React has a larger ecosystem.

Collapse
 
pyr02k1 profile image
John

Parroting a lot of the same answers, what's your goal?
Work, React has he most reach right now. That isn't to say that you can't land a role with Vue, but the number of opportunities will be far fewer than React. That doesnt change that the competition for the role exists just the same, but there will likely be less qualified applicants as well.
For fun/personal? Vue is really nice to work with, same with Svelte. I find they're written and running quicker and I've rarely found a pitfall to either versus React.
The one that React really does have going for it, besides the number of positions available, is the ecosystem around it. Tons of ways to accomplish the same thing with ease. If you have a problem, someone's probably already came up with a solution that you can find easily. With Vue and Svelte, it can be a bit harder to find the answer, and sometimes the question has never existed to be answered so you may have to be the one to ask it or find the solution yourself.

Collapse
 
richardevcom profile image
richard

React has the biggest market demand - Vue is faster and easier to write.

Collapse
 
alexmario74 profile image
Mario Santini

You should try both, that's the best way to understand the differences and make your ourn decision about.

If you need to pick one for you job, then I think there is not so big diffierence. Just check out what is known in your company.

If you're self-employed, then consider the market, what will be more attractive for your clients?

That's just my thoguts.

Collapse
 
abrahamn profile image
Abraham

Learn basic HTML, CSS and Javascript first and master those. The others are just nice to haves. But on that, it depends on why you want to "study", for more job opportunities it still seems that React is king in this, but so is Angular. On that note why not learn both? You can also widen your horizon and look at React, React itself, and Next.js. And on the Vue side, do Vue and Nuxt.js. These will let you see a lot of differences. But you can also expand your horizons with plenty more Javascript frameworks like good old JQuery, Svelte, Knockout, Ember, backbone, mithril, polymer, inferno, solid and plenty more out there. Each have their own strengths and weaknesses to look at. Some are simple additions to the basic html+css+js and some others are pretty advanced and quirky like Qwik, riot.js or Aurelia.

What's most important is the why then you can prep yourself for your journey

Collapse
 
kaowebdev profile image
Андрей

I've tried both of this tools. Your choice depends on your needs. There are a lot of factors, such as project performance, future support, market situation, future project scaling. Personally, Vue.js is more convenience, but I like to work with React in large projects.

Collapse
 
fatihkurtl profile image
Fatih Kurt

I use both, when I write react I don't get as much pleasure and fast results as when I write vue, I have used vue in many projects from big to small and I have seen that it meets every need easily and vue.js supports both jsx and html templates, but if you want easier business opportunities, you should write react because its ecosystem and business opportunities are unfortunately more than vue, so it has a lot of libraries, but vue is not far behind in this regard, if your basic javascript knowledge is good, after learning one, you can learn the other with a little effort.

Collapse
 
hilarycheng profile image
Hilary Cheng

Yes, React has a larger eco-system. But it is some-what hard to master with it. React is somewhat too complicated when you build a large project on it. Reactive System in React is somewhat messy that makes you feel very annoying. You have to think about carefully. What's the changes of the state. Sometimes, you will always forget that's the object changes even values has nth changed.

Vue / Svelte are much more easily. Just return the data that you wanna to use it in the template. You can do whatever you wants to do.

For React 19, you have to wait for it. No one knows how React 19 Compiler actually performed.

Collapse
 
teminian profile image
Robert Teminian

For me Vue.js is much more like traditional HTML-CSS-JS combination, while React.js looks like some RAD stuff like Delphi VCL, Qt, or wxWidgets. As a C++ (and previously Object Pascal) developer, I felt easier to work with React.js, especially when React introduced "hook" stuff in version 16.

Of course market share is a BIG thing to consider as others said, but your coding preference matters too.

Collapse
 
alexanderop profile image
Alexander Opalic

vue

Collapse
 
aloisseckar profile image
Alois Sečkár

If you can choose your tech-stack, I'd vote for Vue (and Nuxt to be more precise).

But you are more likely to find a job knowing React, also many customers demand it (because they either have some in their system or they think it will be easier to maintain the solution in the future). It might be difficult to reason against React's market position, although I believe Vue is a better choice.