Important takeaways from the State of JavaScript
Tags: programming, web, softwaredevelopment, webdev
Published: 2022-02-20 11:47:28

---
title: Important takeaways from the State of JavaScript
published: true
date: 2022-02-20 11:41:06 UTC
tags: programming,web,softwaredevelopment,webdevelopment
canonical_url: https://relatablecode.com/important-takeaways-from-the-state-of-javascript/
cover_image: https://cdn-images-1.medium.com/max/1024/1*rqeJOHAVfW8MUydYkD7FzA.jpeg
---

It’s that time of the year and the results are in for the “State of Javascript Survey”. Overall there wasn’t anything too ground-shattering but there are a few important takeaways to keep in mind for the coming year.

Here are the results if you want to check them out personally:

[https://2021.stateofjs.com/en-US/resources/](https://2021.stateofjs.com/en-US/resources/)

### Learning Javascript

Something that is quite prevalent in the front-end community is self-taught developers. It’s nothing new to know developers who went through the mud in online courses, books, and coding boot camps but the survey further confirms this. Anyone still going through self-taught programming, don’t give up!

![learning graph](https://cdn-images-1.medium.com/max/731/0*YAcgITo7o35At73U)

### Libraries

One of the main points of the survey is to see how competing libraries are working for the best DX (developer experience). This is the tier-list of satisfaction of some of the most popular Javascript libraries:

![tierlist](https://cdn-images-1.medium.com/max/1024/0*vMjvPQZOfXj4GcRF)

Vite and esbuild being at the top I think is a welcome change. If anyone has used the remix framework they’ll know how quickly it recompiles the entire build with esbuild. Vite performs along similar lines. Definitely recommend checking them out as it can add up to a lot of saved time over the course of the year.

As for testing, Cypress and Jest are high on the list! I [regularly](https://relatablecode.com/how-to-add-cypress-codecov-in-github-actions-in-react-app/) [use](https://relatablecode.com/how-to-mock-the-webshare-api-in-a-cypress-test/) [Cypress](https://relatablecode.com/how-to-make-a-cypress-test-for-prefers-color-scheme-dark/) for my side projects. It’s very smooth to use and can actually make testing pretty fun.

Although Svelte tops the list of satisfaction both React and Vue made the cut in A-Tier. In my experience all three are great options, just choose whichever you feel the most comfortable with.

A lot of the native development libraries seem to be on the lower end of the tier list…which probably means there is room for significant improvement on the DX side of things.

Unfortunately at the very bottom, you’ll see things like Angular and Gatsby, probably because of the explosion in popularity of Next.js, Vue, and Svelte alongside the recent release of Remix. Gulp and Cordova… it’s probably best not to mention them.

### Opinions on JavaScript at large

![opinions on javascript](https://cdn-images-1.medium.com/max/740/0*hakLaxxByUwG-8mz)

For the most part, the consensus seems to be that JavaScript is heading in the right direction! And I completely agree. With so many competing frameworks and libraries, competitors are looking for any advantage to get us, developers, to buy into what they’re providing. This is a complete win-win for us.

As the old saying goes if it can be built in JavaScript, it will (or already has been).

More content at [Relatable Code](https://relatablecode.com)

If you liked this feel free to connect with me on [LinkedIn](https://www.linkedin.com/in/diego-ballesteros-9468a7136/) or [Twitter](https://twitter.com/relatablecoder)

_Originally published at_ [_https://relatablecode.com_](https://relatablecode.com/important-takeaways-from-the-state-of-javascript/) _on February 20, 2022._