Live data from Hacker News

State of JavaScript 2021

2021.stateofjs.com

31–40 of 245 posts

Re: State of JavaScript 2021

#31
post #4

Gulp build tool not receiving much love lately with a very strong "Would not use again". Why so? https://2021.stateofjs.com/en-US/libraries/build-tools/#buil...

Perhaps it's because Grunt, Gulp, and similar JavaScript build tools never managed to improve upon a simple Makefile, which is decades-old tech.

Re: State of JavaScript 2021

#32
post #2

Survey maintainer here, thanks for posting this!

"Shadow DOM" has the wrong description, I think: "Web Components is a suite of different technologies allowing you to create reusable custom elements — with their functionality encapsulated away from the rest of your code — and utilize them in your web apps."

Re: State of JavaScript 2021

#33

Not familiar with much front-end work - can anyone give insight to what's gone on with Ember?

I'm using it as my framework of choice for 5 years and have helped programmers become productive with it. I have used other frameworks and keep up to date with React. I have not fulfilled the survey.

Ember was never very popular. It is sort of similar with how Rails is seen. I've found it very productive and great. I've had issues hiring people because they've heard of Ember, have not used it and don't want to move away from React because (my opinion) it's very popular on LinkedIn and the likes.

The chart mixes frameworks and it makes little sense. Ember and Angular are big frameworks with a sort of standard response for everything. React and Vue are view layers, you eventually build your own framework. I think Svelte also fits here. Stimulus updates the browser with html from a Rails server. Not sure where to put Alpine. They describe it as an updated jQuery-like development thing.

Re: State of JavaScript 2021

#34
post #22

I read this report every year. This year it feels the most like it's driven by hype (and marketing, hi Vercel!). In my professional and personal experience, react has never been better to use (in terms of features, DX, maturity, community, productivity), yet if you look at the "popularity" (oh dear) graph, it's basically just describing how older tech slides down while newer shiny tech comes in and is instantly the m…

It's based on polling, and I don't think people that are content with what they use are the demographic that fills in these things; it's the people that are interested in a broad range of things, in shiny new tech (magpie developers).

e.g. Angular is a framework that a company invests in long-term, 5-10 year periods.

Re: State of JavaScript 2021

#35
post #12

The satisfaction vs usage of angular is astonishing, but I wonder how much of that usage is legacy angular? One way to read the graph would be that there's a lot of angular just quietly getting on with the job and it's a solid choice, but another would be that there's a large amount of legacy angular out there that people aren't very happy with.

It is from Angular, not AngularJS, if that is what you are asking. The dissatisfaction is quite understable if you look at the actual framework; its broad use is because it is backed and marketed by Google.

Re: State of JavaScript 2021

#36
JS and TS brought so much happiness to me for years. But I found it extremely difficult to constantly have to "decide" between X and Y.

In the backend, I went all in with Golang and oh my... Now I just code.

In the frontend, Svelte is a godsend. No longer need to find "React-friendly" libraries. Simple JS works for the most part. Not ideal but great versus React for the types of admin panels I build.

Re: State of JavaScript 2021

#37
post #12

The satisfaction vs usage of angular is astonishing, but I wonder how much of that usage is legacy angular? One way to read the graph would be that there's a lot of angular just quietly getting on with the job and it's a solid choice, but another would be that there's a large amount of legacy angular out there that people aren't very happy with.

I think that there is a lot of bubble bias: React is used in many 1 person projects as well as in small dev teams projects. I would not advise to use Angular in this context, if you are not fluent in Angular.

However Angular in my opinion totally outshines React in setups with many teams. It is comparable to C (React) vs. Java/Swift (Angular). Angular enforces a certain programming style, while React gives you a lot of "include this lib" freedom.

I attended many Angular meetings, and large enterprises use it.

It is similar to .NET and C-Sharp. Great stuff in a certain environment.

Re: State of JavaScript 2021

#39
Only 4.5% of respondents said that they are unhappy with the state of front end frameworks. That satisfaction level is "official approval of a president in a dictatorship" high.
Post reply on HN