The results of a survey on the use of javascript technologies "The state of JavaScript 2017" are published
We all wonder from time to time whether this or that technology is out of date, and what is now in trend. This is especially true in the world of frontend.
Today we have answered some of these questions. Today at https://stateofjs.com published a new report with the results of a survey of twenty thousand developers. It is best to immediately look at the original, but if time is short, key points will be highlighted in this article.
Frontend frameworks
You can see a beautiful detailed diagram here , and if briefly in places, then a dozen leaders look like this:
thousand people | Framework |
---|---|
14 | React |
9.5 | Without framework |
4.7 | Angular 1 |
4.6 | Vuejs |
4.4 | Angular 2 |
1.7 | Backbone |
1.2 | Polymer |
1.1 | Ember |
0.3 | Aurelia |
(Does anyone know how to remove width: 100% for a table on the Habr?)
In the left column - the number of people who used the framework and were satisfied.
As you can see, React is still the absolute leader. Vue.js, about which they talked and wrote so much, although it has increased its share over the year, but no more. React killer never became. Nevertheless, as can be seen from the diagram by reference, interest in vue is still large, many people plan to try it.
Varieties of language
thousand people | Tongue |
---|---|
21 | ES6 |
thirteen | Simple js (ES5) |
8 | Typescript |
2.4 | Flow |
1.2 | Elm |
0.5 | Clojurescript |
0.1 | Reason |
In general, for now, it's worth writing in js with classes (ES6) or, if you like strong typing, then typescript.
IMHO flow will no longer receive such distribution as typescript, because facebook seems to have begun to actively develop Reason. Which, however, is also still far from prevalence.
State management
There’s some kind of tin. All technologies were mixed in one pile. How can I compare Rest API, redux and MySQL? Which is larger, meter or kilogram?
Nevertheless, it’s worth looking at the state management report , because some conclusions can be drawn.
For example, that redux is 10 times faster than mobx and other analogues, i.e. he seems to have become the absolute leader in this area, the de facto standard. And also that GraphQL, despite all the hype, is not as widespread as RestAPI.
Backend js frameworks
From this report it is clear that express is the absolute leader, the rest are an order of magnitude behind.
CSS
Although the survey is called "The State of JavaScript", we all understand that without css, nothing will work. Here are the technologies related to css:
thousand people | Technology |
---|---|
18.0 | Sass / scss |
17.0 | Just CSS |
14.0 | Bootstrap |
7.4 | Less |
6.5 | CSS in JS |
4.3 | Foundation |
2.4 | Stylus |
It seems that we have reached the moment when naked css loses to advanced options (sass / scss / less)
Build tools
There are no surprises . In the top Npm and webpack. Well, still gulp, but judging by the diagram, many will refuse it.
Mobile tools
Judging by the diagram, native applications are still in the top:
thousand people | Technology |
---|---|
7.9 | Native apps |
4.9 | Electron |
4.8 | React native |
3.4 | Phone Gap / Cordova |
2.5 | Onic |
0.5 | Nativecript |
Other
There are also “other” reports that the authors could not classify in any category, so they are all piled on one page .
From the curious:
1) yarn is used more than npm.
2) vscode is at least twice as popular as other editors, including webstorm.
Also in the report there are salary distributions by technology, technology distribution by country and an interactive diagram about the connection of technologies with each other (for example, how many times react + redux is used)