Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Why should learn react instead of vue?

I have noticed that vue js is much easier and have simple syntax. On the other hand react require much more complex syntax for doing the excat same thing. Then why react is so much populer, and why should i learn it? And i have so much interest in backend development, for me why and which should i chose?

1 Answer

Madeline Dutro
Madeline Dutro
4,092 Points

Flavio Copes has a great blog post on this - in terms of fundamental differences between the two, there aren't many. You are right when you say that Vue can do whatever React can. There are differences in how the two frameworks handle state, but these are negligible when it comes to performance.

You can read Flavio's take on it here: https://flaviocopes.com/vue-vs-react/

React, for my money, is likely popular based on the variety of libraries you can use with it - Vue tries to be more of a comprehensive tool.

As for what you should learn, if you want to focus on making yourself more marketable, it's good to get comfortable with using React. If that's not really a concern for you, just work with whatever you like best!