DEV Community

Cover image for State of JavaScript 2020 Results are declared!
Yogesh Chavan
Yogesh Chavan

Posted on • Updated on

State of JavaScript 2020 Results are declared!

The Most anticipated and popular State of Javascript 2020 results are out today.

So Let’s find out, some of the highlights from the survey results.

Front End Frameworks

React was the winner for the last four years but now, Svelte has taken its place.

React is in 2nd place now.

Front End Frameworks

Back End Frameworks

Next.js is the winner of 2020 for backend development.

Backend Frameworks

Testing

When concerned with Testing, Testing library is the winner here followed by the Jest framework as the second winner.

Testing


You can check out full survey results here.

Top comments (8)

Collapse
 
raddevus profile image
raddevus

Thanks for sharing these. The data is very interesting. Here's some things it made me wonder about.
New Devs Learn New Frameworks (not old)?
If you look at the data it seems to indicate that new devs learn new frameworks and this causes them to become "popular". Consider how popular React is, but now it is 2nd to Svelte (probably simply because it is newer).

Does Anyone Like Current Frameworks?
Also, the data could also indicate that no one really likes the older frameworks because as soon as one emerges then it becomes the new favorite.

This cycle of continual throwing away the old because something new emerged is quite a challenge and is probably somewhat false because someone who has been using React for a few years on numerous and/or large projects certainly isn't suddenly rewriting in the new Svelte.

Multiple Codebases?
This also seems to indicate that if devs are taking up these new favorites and have been developing for 5 years then they have multiple codebases (all in different frameworks) and is probably unsustainable for a company.

Collapse
 
myogeshchavan97 profile image
Yogesh Chavan

Really great observations and insights. Thanks for sharing it 🙏

Collapse
 
buraksaraloglu profile image
Burak Saraloglu

How did Next.js end up in backend frameworks?

Collapse
 
myogeshchavan97 profile image
Yogesh Chavan

Next.js is primarily used for creating Server Side rendered applications using React. They are also used for static site generation as an alternative to Gatsby

Collapse
 
dennisfrijlink profile image
Dennis Frijlink

So Next.js is used for creating SSR applications but the framework by itself is based on React and that's a frontend library right? Libraries/frameworks like Node or Deno are in my mind backend?

Thread Thread
 
myogeshchavan97 profile image
Yogesh Chavan

Next.js allows us to write both front-end and back-end code. It runs on the server-side. So using just Next.js we can write front-end code using React and also back-end code. Usually backend code is written under pages/api folder in Next.js app

Thread Thread
 
dennisfrijlink profile image
Dennis Frijlink

Nice! Think all the time Next.js is a React library just like Gatsby but focused on Server side rendering (instead of Static site generation like Gatsby). Nice to know!

Thread Thread
 
myogeshchavan97 profile image
Yogesh Chavan

Next.js looks like a front-end only but that's not the case. It has access to node APIs and we can also use npm packages directly in Next.js apps so there is no need of maintaining separate codebases for front-end and back-end.

It's also easy to use static site generator as compared to Gatsby