DEV Community

Omer Rosenbaum
Omer Rosenbaum

Posted on

A dev's dillema: Vue vs React

Why Vue?

  • Vue is lightweight & flexible and it feels more like a library than a framework

  • It's also less intrusive and has an easy onboarding experience

  • Project components & structure in Vue are similar and easy to recognize. This especially helps with onboarding.

  • READABILITY !!!! The html/css and JS are separated.

When React > Vue

  • React is an industry standard and oftentimes this makes it easier to recruit developers

  • React often provides better flexibility in some aspects

  • Docs are far more advanced. Check out the 100s of pages of questions on React on Stackoverflow

This all started with an email we received a while back asking why Swimm chose Vue.

Do you have this dilemma? Where do you stand?

Top comments (3)

Collapse
 
jesusantguerrero profile image
Jesus Guerrero

I didn't get the las two advantages of react in the post?

Do you have a code example of a use case where React provides more "flexibility" than vue?

In the last point also you are mixing quality with volume.

Collapse
 
omerr profile image
Omer Rosenbaum

React gives devs more flexibility with how much inline code they can use when creating templates. This ability enables many different flavors of project structure. 

And in terms of quality vs volume, yes there is a difference for sure, but that doesn't mean all of the volume is bad quality 

Collapse
 
jesusantguerrero profile image
Jesus Guerrero

This is a little bit biased and maybe is because you got more knowledge about react than vue. becase in Vue you have the render functions and render whatever code and even jsx if you need something more advanced (like this) and Vue reactivity is decoupled from templates that gives even more flexibility.

In all the other aspects I agree but fexibility.