DEV Community

Discussion on: Hey guys what's better Vue or React?

Collapse
 
sylwiavargas profile image
Sylwia Vargas • Edited

As a person with (some) expertise in React - and even more so - as a person who co-writes the new React docs, I can give you the definite answer to this question and end all discussion once and for all...
...
...
the answer is...
...
...
Use whatever better clicks for you!

For a detailed comparison, check this Vue's page. Even though it's biased towards Vue, it does offer more factual arguments than this type of discussion.

Also, look at the community:

  • Do you like how folks talk to each other in React community or Vue community?
  • Who are its leaders?
  • Who owns the framework and how do you feel about it?

These are the folks who will answer your questions or who have written courses and posts you will learn from. If you dislike how someone communicates or what values they believe in, it will be more difficult to follow their instruction, participate in the conferences, and so on.

Some folks bring up job market as another argument here. I never learned Vue but I passed three job interviews in it. The frameworks are not THAT different and learning one will be much easier once you know the other, even because you will have the vocabulary to google the tools/solutions you need. Other than that, most employers have coding tests available in another framework and understand that you will need to learn their stack anyway so you won't make significant contributions in the first weeks/months. Lastly, most companies have their own ways of doing things so it's not like if you know React perfectly, you won't be confused at a place that uses React - especially that oftentimes, you will deal with legacy code and patterns that were great a few years ago but they were never updated and now just look odd.

⭐️ PERSONAL (not-so-)HOT TAKE

If I were to choose what to learn if I were to restart my journey right now, I'd make sure that I deeply understand JavaScript. Many of the issues people attribute to React stem, really, from JavaScript and from how React was implemented in this context. Really strong JS fundamentals will for sure not hurt you anyway 😊