Unabridged Conclusion to the State of JS
14 reactions 2022-02-16
I was invited by Sacha Greif to write the conclusion for the State of JS 2021 survey, which was just released today. I felt it was a huge honor to be asked so I went ham on the “financial analyst” side of me to interpret the results for readers!
Ultimately though, I went way too long and a lot of it had to be cut, mostly because of the need to translate these words into 20 different languages.
Still… I already did the writeup, so here’s the full text!
This is not to say that JS has stood still. Due kudos must be given to the champions of the Optional Chaining and Nullish Coalescing APIs, which have rocketed up to be by far the most used new JS APIs in our survey, despite only being 2 years old. The 6.2% and 13.8% of you who have never heard of them should probably give them a try! More good things are on the way from TC39: you reported that date management is a top missing feature and the Temporal API recently reached Stage 3.
Over in user-land, Solid made a solid debut tying with Svelte in first place for the coveted top spot in frontend satisfaction. By usage, Vue.js, now on version 3, is on track to overtake Angular as the second place framework (after React) sometime in 2022-23. Backend/Fullstack frameworks have seen much more innovation, with SvelteKit, Astro, and Remix all debuting with very high satisfaction. However, real usage changes much slower than satisfaction, with Express still the undisputed king and Next.js the distant but fastest growing second place. The difference in pace between front and back can be explained by developer happiness: 66% of you are happy with frontend frameworks, but less than 50% are happy with backend ones.
- In our first year of tracking monorepo tooling, pnpm, Turborepo, and Nx took the top spots, but only 25% report being happy with the state of monorepo tooling.
- Looking at runtimes, Deno is stable at 5.6% usage but faces fierce competition from the various Serverless and Workers platforms.
- Teaching online continues to be a source of incredible opportunity, as most of you report self directed learning, free courses, and paid screencasts and books to be your top choices in learning.
Lastly, it’s worth mentioning our top write-ins, as it can help correct unintentional biases. This year’s top write-ins are Elm, Stencil, and Platzi. If your favorite library or resource didn’t do well this year, keep spreading the word!
After all, last year’s 3rd place write in was… Vite.
I was also briefly on the State of JS results livestream, which you can see here