allBlogsList

Javascript Library and Framework Trends

In the past few years we have all witnessed an absolute explosion of Javascript frameworks. Gone are the days when a developer simply had to worry about .NET versus Java. Web development has moved to the client side, and with it came a great increase in tools and libraries, many of them free open source libraries found on large repo containers like Github.  There is only so much time in a day, I simply cannot spend all of it trying to keep up with all the JS craziness.  Sound familiar?

During 2015 I have used Github as a gauge to see which frameworks are getting more traction in the industry and what tools are worth spending time on.

As you probably know, Github uses the “Watch”,  “Star” and “Fork” counters on a repository to show the community interest levels. Starring a repository allows you to keep track of projects that you find interesting, even if you aren't associated with the project. When you watch a repository, you get notifications for any new pull requests and issues that are created. And of course a fork is an entire “personal” copy of the repo.

The statistics in this post are entirely based on personal preference. If you don’t see your favorite framework please don’t be offended.

Here is a the list of the items I have tracked along with their age.   Age is actually an important factor as we will see later, even in the volatile world of javascript tools.  

custom

Given that list of items, here are the Github statistics indicating interest levels in July 2015

custom

Angular1 has the lead. No surprise there. But look at 2<sup>nd</sup> place – React has a little more than 50% of the level of watches and stars.  That is remarkable. Especially when considering that React is 2.6 years old versus 9 years for Angular.

Now look at the same picture 6 months later – as they say “ a rising tide lifts all boats”…. The snapshot confirms the premise that Javascript continues to get more and more traction everywhere. And overall Angular1 continues to lead, but notice that at this point React Native has moved up to 4<sup>th</sup> place.

custom

Things get even more interesting when we switch to calculate percentage increases, instead of looking at the raw numbers

custom

The level of interest in React Native is absolutely white hot. The intersection of web based technologies and mobile development are key areas – with native or near native performance being the holy grail.      ( https://facebook.github.io/react-native/docs/performance.html )

Looking further down the list, the gains of Angular 2 and Typescripts are certainly noteworthy.  While I am not against Angular itself, in the back of my mind I keep thinking that Google has not used it in similar key production areas as Facebook did with React. Although based on AngularConnect that may be changing. At the moment Facebook is dogfooding its tools at a much higher rate than Google.

Typescript’s advances portends good things.  Angular 2 is built with it, which helped the TS adoption rate. Personally, all I needed to know was that Anders Heijlsberg is in charge of this project. If you work in .NET, you are using standing on Anders shoulders. He is one of the most accomplished engineers of our time ( https://en.wikipedia.org/wiki/Anders_Hejlsberg ). If you are not familiar with TS, I recommend taking a look. It is framework agnostic and can work with most all of the libraries.

Is there a conclusion here ?  Well for starters we see how insanely fast our industry is changing. React went from next to nothing up to challenging the top position in no time at all.  And React supports a different design philosophy than Angular (or Meteor or Ember for that matter)

Depending on whom you talk to, React may have already won.  Nicolás Bevacqua published a survey of 5000 javascript developers in November. Here are his results. Having one tool family capable of dealing with desktop and mobile devices is certainly a big consideration.

custom