Is Vue.js faster than React?


by aaliyah , in category: Technology , 3 years ago

Is Vue.js faster than React?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by bria_metz , 3 years ago

After using both frameworks on multiple projects, I would like to share my opinion on that topic. Vue.js is faster than React in almost every regard. It's easier to learn and has more satisfied devs out of the box (including yours truly).

I've been coding HTML for over 15 years and have been a front-end developer for almost ten years. I have used jQuery, Angular 1, React, and now Vue.js daily for the past three years. I've also built MUI - "the most advanced interface components library in the world," as they claim.

If you're afraid of dropped frames on your latest project, don't worry. Vue.js is way faster than React, especially after version 2.0.

It's easier to Learn

Many devs agree that it takes about 1-2 weeks to grasp the basics of Vue and start building simple apps with it. I often hear this statement: "If you know Angular well enough, learning Vue should be a breeze." No wonder, as it's mostly the same concepts and syntax.

On the other hand, React has become very popular in the last few years, so there is no shortage of devs who don't want to bother with all those unneeded concepts such as directives or shared state management. It doesn't mean they are good developers; it just means they don't want to learn new things. They prefer going with what's hip and trendy.

If you look at the official React tutorial, you will find that there are six steps to building your first app in vanilla React. The exact amount of steps when using Vue.js. And when I say steps, I mean steps. You have to type everything in the console without any GUI helpers whatsoever. React has no state management by default which makes it even more complex for beginners.