DEV Community

Cover image for vuejs or react 2020

vuejs or react 2020

Mohamed Hanini on March 01, 2020

Vuejs is better than React when smaller, flexible and faster applications are required. When there is a requirement for a lightweight, faster, and modern UI library for crafting a topnotch SPA (single-page application), one must use VueJs. This is beneficial for developers who are used to working with HTML.

Collapse
 
zarabotaet profile image
Dima

Small and fast - svelte.
All other - react.

I see no reason to choose vue.

Collapse
 
bernardbaker profile image
Bernard Baker

Why no reason?

Collapse
 
zarabotaet profile image
Dima

What are the advantages over the React?

Thread Thread
 
medhanini profile image
Mohamed Hanini

flexible and faster

Thread Thread
 
metruzanca profile image
Samuele Zanca

Why is it more flexible?

Thread Thread
 
medhanini profile image
Mohamed Hanini

yes it's more flexible

Collapse
 
bernardbaker profile image
Bernard Baker

Is this a finding after a benchmark test for optimisation?

Collapse
 
medhanini profile image
Mohamed Hanini

yes of course i noticed this after my first project using nuxtjs which is based on vuejs

Collapse
 
bernardbaker profile image
Bernard Baker

What did you notice? What tools did you use to monitor the performance?

Thread Thread
 
medhanini profile image
Mohamed Hanini • Edited

the performance not yet get the great score

Thread Thread
 
bernardbaker profile image
Bernard Baker

I don't understand your reply.

What did you notice?

What tools did you use to monitor the performance?

Collapse
 
metruzanca profile image
Samuele Zanca

The thing about vuejs is currently the job market is in favour of react. Vue could be 10x better than react, but if react is still being used by the vast majority of companies, react will always be the better choice. If you're doing freelance, then thats another story.

Both are good frameworks.

Collapse
 
alam487 profile image
Alam487

Hi sir. I am trying to built a multistep form wizard in vue.js using Django where I have two flows one is personal user and other one is business user. So in personal user I have to prompt a form based on category selection. Like when we enter a category in html input field based on that category I have to show next form. Suppose if I enter a "IT" in category field then based on IT i have prompt next form related with IT fields.
So here first flow I have completed like displaying the form based on category selection. And the main problem is with business user here while we enter a category "IT" in business flow so at that time by default we are having next form with two radio buttons one is personal user radio button and other is business user so if we click on business user radio button then user are able to update his account from personal to business using registration form.
But while we click on personal radio button then I need to follow the same process of entering category and showing the next form based on this category enter by user but i was unable to achieve this. So here i have stuck and need help