Vue.js — Why is it so popular right now?

Vue.js with Vuex Store

My experience with React

I am a student and I like building web applications. I use Rails for back-end and just recently started working with Node.js and front-end JavaScript frameworks. I started out with React as it was the hype of the time. I did an Internship where I used React to build a single page application. The learning was really fun. I got familiar with the framework pretty soon. The complete use of JavaScript, the reusable components, the state management, the Redux store and the easy use of Material UI components, everything was great. The modular structure was really appealing and just like that it became my favorite. Gaining some experience with it was my next task.

Vue.js? What is it? Is it better than React?

It was about this time that I heard about Vue.js. At first, I thought of it as a copy of React, with its virtual DOM and everything. Since I got recently introduced to the such type of frameworks, I gave it a glance. To my surprise, it was better than React! At least, to the extent I had learnt. I didn’t even realize that I was having trouble writing HTML inside JavaScript until I started using Vue.js. It felt really great. It was like using Rails’s ERB templating engine but with better handling of the page. I really loved it. All the features provided were perfect and really simple to understand. It took like “2 days” to completely understand the framework and build some really cool stuff.

So, should I use Vue.js or React?

I know it’s hard to choose but it all depends on what you want to build and whether all the requirements can be fulfilled by the framework. To me, as a student, both are really great. But if you are a beginner and want to start off quickly, I would suggest Vue.js.

Thank you for reading. If you have any opinions, please comment below. I would love to know your thoughts.

Santhosh Dasari — Student, Web Developer