State of JavaScript 2021: What People Are Saying
Tags: javascript, surveys, trends
Published: 2022-02-17 04:40:04

---
title: State of JavaScript 2021: What People Are Saying
published: true
description: Featuring Evan You, Rich Harris, and more
tags: javascript, surveys, trends
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s7ad6iabznb8lv3cid4j.png
---

As usual, this year's [State of JavaScript survey results](https://2021.stateofjs.com/) are generating a lot of discussion. So I thought I'd take the time to do a quick round-up. 

**Special Announcement: we're doing a [State of JS 2021 Livestream](https://dev.to/sachagreif/state-of-javascript-2021-livestream-24a5)! Make sure to tune in!**

Let's kick things of with a tweet by none other than Vue creator Evan You:

{% embed https://twitter.com/youyuxi/status/1493927355399606273
 %}

What Evan is pointing out here is that people saying they "wouldn't use X again" doesn't necessarily mean that X is bad. For example, Gulp was great for its time but is now losing ground to newer build tools. So saying that people are unsatisfied with it might be misleading.

For that very reason, we actually don't feature older-generation frameworks like jQuery or Backbone even though their usage levels are still very high. 

Evan suggested factoring in the age of a project into the calculation somehow, and that's definitely a good idea. 

By the way, I found it funny that people came to Vite's defense in the thread's replies. When Evan said Vite got a "ridiculous satisfaction rating", he meant ridiculously… good! 

![Vite satisfaction](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mu9lcnpe4yh0cm5kqm3m.png)
 
## Rich Harris

After the V.I.P. of Vue, it's now time for the Sultan of Svelte to share his impressions:

{% embed https://twitter.com/Rich_Harris/status/1493965383262482432 %}

This is nice to hear, and a big reason why I keep doing the survey is the ability to turn the spotlight onto underrated projects and people. Which is why the Resources section keeps getting longer; and why we added the "Pick of the Year" idea. 

![People of JavaScript](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qyw66nq4kt1g7yo1w68x.png)

<p><figcaption>Asking respondents to list their favorite JavaScript people</figcaption></p>
 
## Shawn Wang

Shawn wrote the official conclusion for this year's survey results, but I had to cut it down for practical reasons. 

You can (and should!) check out the full version [on his own blog](https://www.swyx.io/state-of-js-2021/) though. 

There's a reason I asked Shawn to write this conclusion in the first place, he's one of the most knowledgeable and insightful JavaScript people I know!

## Laurie Voss

Laurie is the co-founder of a little thing you might have heard about called npm. He also shared some insights about the results:

{% embed https://twitter.com/seldo/status/1494029242828406785 %}

Laurie also linked to Netlify's own [Jamstack survey](https://jamstack.org/survey/2021/), which I suggest checking out if you want more stats n' graphs. 

## Ryan Carniato

If you don't yet know Ryan Carniato's name, I believe this might change soon. 

Ryan is the author of [Solid](https://www.solidjs.com/), which beat out React, Vue, and yes even Svelte to become the highest-rated front end framework in term of developer satisfaction!

![Front end frameworks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mnsmojsm39y0tzo5p1gh.png)
 
<p><figcaption>Front end frameworks satisfaction</figcaption></p>

Ryan posted [a great write-up](
https://dev.to/ryansolid/state-of-javascript-2021-framework-reflections-2i77) of his thoughts on the survey, and I encourage you to check them out. 

## Matteo Collina

[Fastify](https://www.fastify.io/) maintainer Matteo Collina also had some nice things to say!

{% embed https://twitter.com/matteocollina/status/1493994596220780549 %}

Personally I have yet to try Fastify but it's definitely on my list of things to check out. 

## Kilian Valkhof

OK I'm cheating a bit here because technically this is about the [State of CSS](https://2021.stateofcss.com/) and not the State of JS, but since both sites use the exact same codebase (just flip an `env` variable!) I think it's fair to include [developer-focused browser Polypane](https://polypane.app/) creator Kilian Valkhof's [write-up of his work to make the site more accessible and more responsive](https://polypane.app/blog/how-we-made-the-state-of-css-more-responsive-and-accessible/).

## Hacker News

As you might expect there's a very active debate going on [at Hacker News](https://news.ycombinator.com/item?id=30357788) with over 200 comments. And right away, the top comment brings that classic Hacker News Heat:

> The "Back end frameworks" section is particularly bad. Sveltekit and Astro are not "back end frameworks" unless you define tech by what marketing copy people have written. [...] Again I have the feeling that choosing which techs go into this section is driven by something like "github star delta" rather than an evaluation of what the tech actually does.

That poster is not wrong. Frameworks like Astro, Express, and Fastify all do very different things, and don't really belong in the same category. But without categories you'd have hundreds of entrants on the same chart and the result would be unreadable. And with dozens of more accurate sub-categories the survey would become even longer. So the current state of things is the best compromise I could find…

As for the "GitHub star delta" comment, that's totally accurate! It's not a secret that a big factor we use for deciding who is included in the survey is the annual [Rising Stars](https://risingstars.js.org/2021/) report put out by [Best of JS](https://bestofjs.org/).

The entire point of the survey is to ask developers about up-and-coming frameworks to see if the hype checks out, and GitHub stars are as good a proxy as any to measure what developers are currently curious about. 

## Reddit

Great discussion [over at r/javascript](https://www.reddit.com/r/javascript/comments/stqjp4/state_of_javascript_2021_survey_results/) as well. 

A commenter points out a recurring trend that I've noticed as well:

> I find it interesting that, for all the front-end framework rankings, satisfaction tends to go down, and usage tends to stay flat.

I think it boils down to frameworks being confronted with the real world. Once the honeymoon phase is over and you start to actually build large production apps with a new library, you start running into all the annoying edge cases that made you despise that previous library you had to deal with. 

And sometimes the new framework does a better job with them, but sometimes it doesn't. In any case a drop in reported satisfaction once you cross over into the mainstream is to be expected, and is nothing to worry about. 

## Your Turn!

What did you think about this year's survey? Did you notice any [improvements](https://dev.to/sachagreif/whats-new-in-the-2021-state-of-javascript-survey-4eej), or are you all hyped-out? Let me know in the comments!