days
-3
-9
hours
-1
-1
minutes
-3
-3
seconds
-4
-6
search
Battle of the GitHub stars

Vue.js vs React: Who’s one step ahead? [POLL]

Gabriela Motroc
Vue.js
© Shutterstock / GoodStudio

Remember when the “battle” was between Angular and React? That’s no longer the case. These days, you’re either on Vue.js’ side or you’re a React fan.

First things first: Vue.js is a framework and React is a library so why are we comparing apples with oranges? It’s a tale as old as time, but with different actors. Remember when the “battle” was between Angular and React? That’s no longer the case. These days, you’re either on Vue.js’ side or you’re a React fan.

And according to a fun GitHub repo, Vue.js has more stars than React. Check it out hereHowever, just because Vue.js has more stars, this doesn’t mean it has won the war. On the contrary, it has just begun.

Vue.js vs. React: Which one do you prefer?

Loading ... Loading ...

asap

The results of our annual Technology Trends survey show that JavaScript frameworks are clearly the most popular web frameworks this year, with superstars such as React, Angular, and Node.js taking the lead. The fourth position is occupied by Spring MVC from the Java ecosystem, followed by yet another JavaScript shooting star, namely Vue.js. Although both react and Vue.js have made it to the top 5, one cannot ignore the Grand Canyon-sized gap between the two.

Although this says a lot about JavaScript web frameworks, it doesn’t say enough about the trends. Let’s have a look at how these web frameworks performed in 2016 and 2017. In all fairness, Vue.js was not included in last year’s survey so we can only analyze React’s popularity, which has grown bigger and bigger until it outshined Angular.

But don’t take my word for it. The results of The State of JavaScript Frameworks 2017 report also show that React has seen a massive growth. If you’re wondering why React is on everyone’s lips these days, this interview with Laurie Voss, co-founder and COO of npm should clear the air.

Why is React on everyone’s lips these days?

Laurie Voss: As with any popular phenomenon, it’s hard to pinpoint a single cause, and a combination of factors have combined to fuel React’s growth.

First, it is a neat and effective solution to an extremely hard problem: making modular front-end components that are portable, reusable, and interactive. They were not the first and not the only solution to that problem, but the ergonomics for developers are arguably better.

Second, having the backing and considerable marketing might of Facebook behind it has given it an audience few frameworks can match, and the fact that Facebook uses it and supports it gives a lot of devs confidence that it’s something they can invest in.

But of course, the underlying cause behind both of these is the continued march of web applications to ever greater levels of richness and usability, which drives complexity behind the scenes. React helps manage that complexity while allowing teams to keep up with the pace of work demanded of them.

Can Vue overtake Angular in 2018? What fueled its unexpected popularity?

Laurie Voss: From my perspective, there are two factors driving Vue’s growth. First, lots of developers still want a “soup to nuts” framework, i.e. one that does everything from routing to templating to back-end data fetching. Vue does this, which tends to make it easier for a first-time developer to pick up since they just make one choice: use Vue, and all the other choices are made for them.

React, on the other hand, requires making lots of additional choices about routing and data management libraries, which makes it more intimidating and slower to get started with. So Angular, Ember and Vue all have this “all-inclusive” advantage over React.

Second, if you’ve decided you want an all-inclusive framework, Vue performs better in benchmarks and is relatively easier to learn. Although these things are subjective, devs often report that it feels “cleaner” or “simpler” than older frameworks like Angular and Ember.

Read the full interview here.

React: A marketable skill

HackerRank’s 2018 Developer Skills Report is packed with goodies: it points out the most in-demand skills and qualifications, the most used languages and frameworks and other interesting things. However, we’re interested in the huge gap between developers’ skills and what employers want from them.

One such example is React, which has the biggest gap between the number of developers who know the framework and the number of employers who look for candidates with this skillset. The bottom line is that React (as well as AngularJS and Node.js) is a marketable skill so if you’re not sure what to learn this year, you might want to give it a try.

Read more about the most marketable skills here

Vue.js: The rising star of JavaScript?

Every year, bestof.js.org —a curated list of the best projects related to the web platform— looks back at the JavaScript landscape and compares the numbers of stars added on GitHub over the last 12 months to find out who are 2017’s JavaScript Rising Stars.

The most popular projects (a.k.a. the hottest projects of the year) are:

  1. Vue.js
  2. React
  3. Create React App

Vue.js is not only the most popular project [with more than 40,000 stars added on GitHub during the year] but also the most popular UI framework — yes, it managed to outshine them all, including all-time favorite Angular and React. Before you say anything about the framework/library mix-up, let’s hear them out:

It’s common to call these frameworks but, to be more accurate, the only framework is Angular, and we should call Vue.js and React libraries.

Are you thinking of giving Vue.js a try? If the answer is yes, you should give this article a chance: Luis Elizondo weighs in on the struggle of considering a new framework and reveals what happened after Rever decided to rewrite their web client using Vue.js.

Still not convinced? Read this article if you want to find out why you should be paying more attention to this progressive JavaScript framework. 

Author
Gabriela Motroc
Gabriela Motroc is editor of JAXenter.com and JAX Magazine. Before working at Software & Support Media Group, she studied International Communication Management at the Hague University of Applied Sciences.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of