[go: up one dir, main page]

Welcome to the 5th edition of the JavaScript Rising Stars, our annual round-up of the JavaScript landscape!

The concept is the same as before: see by the numbers which projects got traction in 2020, by comparing the numbers of stars added on GitHub, over the last 12 months.


The following graphs compare the number of stars added on GitHub over the last 12 months. We analyzed projects coming from Best of JS, a curated list of the best projects related to the web platform. Note that you can click on a project to get more info.

Table of Contents

  1. Most Popular Projects Overall
    DenoVue.jsReactPlaywrightVS CodeesbuildVue Element AdmineDEX-UINext.jsTailwind CSS
  2. Front-end Frameworks
    Vue.jsReactAngularSvelteAlpine.js
  3. Node.js Frameworks
    Next.jsStrapiNestNuxtBlitz
  4. React Ecosystem
    Next.jsReact QueryRecoilAnt DesignReact Hook Form
  5. Vue Ecosystem
    Vue Element AdminViteNuxtElement Plusvue-next
  6. Angular Ecosystem
    ngx-adminMaterial Design for AngularScullyAngular CLING-ZORRO
  7. Build Tools
    esbuildRomeViteSnowpackWebpack
  8. CSS Frameworks
    Tailwind CSSBootstrapBulmanew.cssHalfmoon
  9. CSS in JavaScript
    Styled ComponentsTwinEmotionLinariaTheme UI
  10. Testing
    PlaywrightStorybookPuppeteerCypressHeadless Recorder
  11. Mobile
    React NativeExpoQuasarIonicSonar
  12. JS Flavors/Compilers
    TypeScriptswcBabelReasonFlow
  13. State Management
    RecoilXStateImmerZustandRedux
  14. GraphQL
    GatsbyHasura GraphQL EngineRedwoodPrismaApollo client
  15. Learning Resource
    JS Algorithms & Data StructuresNode.js Best PracticesYou Don't Know JSClean Code30 seconds of code
  16. Conclusion

Most Popular Projects Overall

1
Deno

Deno

A secure JavaScript and TypeScript runtime
+30.2k☆

Trends in 2020

2.8k
1.5k
1.0k
1.3k
13.7k
3.0k
1.3k
897
836
742
912
1.2k
J
F
M
A
M
J
J
A
S
O
N
D

GitHub data

Created
2018-05
Total stars
71.1k☆

Links

2
Vue.js

Vue.js

A progressive, incrementally-adoptable framework for building UI on the web
+22.5k☆
3
React

React

A declarative, efficient, and flexible JavaScript library for building user interfaces.
+19.8k☆
4
Playwright

Playwright

Node.js library to automate Chromium, Firefox and WebKit with a single API
+19.7k☆
5
VS Code

VS Code

Visual Studio Code
+19.1k☆
6
esbuild

esbuild

An extremely fast JavaScript bundler and minifier
+16.6k☆
7
Vue Element Admin

Vue Element Admin

A magical vue admin
+16.0k☆
8
eDEX-UI

eDEX-UI

A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
+15.7k☆
9
Next.js

Next.js

The React Framework
+15.5k☆
10
Tailwind CSS

Tailwind CSS

A utility-first CSS framework for rapid UI development.
+15.5k☆

2020 is a very special year for many reasons. The most important one: for the first time in 5 years the overall winner of the Rising Stars is not called Vue.js but Deno... what a surprise!

Deno is a JavaScript runtime from the creator of Node.js, Ryan Dahl.

It’s often considered as the sequel of Node.js as it fixes or improves a lot of points, taking advantage of 10 years of experience and iterations with Node.js.

Among the main features:

  • TypeScript compiler is included by default (but you can write code in regular JavaScript)
  • No centralized package manager, any JavaScript dependency can be loaded from any URL
  • The “standard library” provides solutions for common needs that usually require the installation of packages in Node.js
  • Deno uses as much as possible standards from the web (Example: the Fetch API)
  • Files imported using the ECMAScript modules
  • Built-in test runner and debugger

The ecosystem around Deno is quite young but expect things to change a lot, given the buzz around Deno.

The success of Deno confirms 2 heavy trends:

  • The rise of TypeScript language, in both frontend and client sides
  • The rise of ES6 modules imported on the fly by solutions like Snowpack, check the new faces of the "Building Tools" section

Front-end Frameworks

1
Vue.js

Vue.js

A progressive, incrementally-adoptable framework for building UI on the web
+22.5k☆
2
React

React

A declarative, efficient, and flexible JavaScript library for building user interfaces.
+19.8k☆
3
Angular

Angular

One framework. Mobile & desktop.
+13.3k☆
4
Svelte

Svelte

Cybernetically enhanced web apps
+12.0k☆
5
Alpine.js

Alpine.js

A rugged, minimal framework for composing JavaScript behavior in your markup.
+11.5k☆

Vue.js and React keep fighting hard at the top of the Front-end Frameworks category.

Behind them, Angular regains the third position, switching its 2019 position with Svelte.

The new face in the TOP 5 is Alpine.js, a minimalist reactive framework for the browser, from the creator of Laravel LiveWire.

It borrows ideas from both Vue.js and Angular: custom HTML directives, two-way binding...

It's very easy to check it using with a good old <script> tag added to an HTML page, no building process is needed, everything can be done right from the HTML mark-up so it may be the perfect solution to enhance quickly an existing web page without having to include a full-blown framework.

Being a very lightweight solution to bring interactivity to a web page, it plays well with modern frameworks like Elixir Phoenix. There is even a stack called PETAL that includes both Alpine.js and Tailwind CSS, more on that later...

Node.js Frameworks

1
Next.js

Next.js

The React Framework
+15.5k☆
2
Strapi

Strapi

Open source Node.js Headless CMS to easily build customisable APIs
+11.8k☆
3
Nest

Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications on top of TypeScript & JavaScript (ES6, ES7, ES8)
+10.3k☆
4
Nuxt

Nuxt

The Intuitive Vue Framework
+8.2k☆
5
Blitz

Blitz

️The Fullstack React Framework — built on Next.js
+6.0k☆

We have 2 types of projects that dominate the Node.js Frameworks category.

On one hand, full-stack frameworks like Next.js and Nuxt are both opinionated about how to build your application as they bring React and Vue.js to the server-side.

On the other hand, we have more classic options that run only in the server like Nest (the leader last year) or Fastify.

Like in 2018, the category is led by Next.js. In the beginning, it was made famous as a solution to render React applications on the server. Now it's the leading solution to build full-stack web applications with React.

The latest version provides features such as Incremental Static Regeneration that brings the best of the dynamic and static worlds, making it a great fit for a lot of use cases.

About the full-stack frameworks, Blitz and Redwood are the 2 new contenders that aim to provide the best developer experience to build complete web applications.

It's interesting to see that Express, born 11 years ago is still relevant in the JavaScript landscape.

React Ecosystem

1
Next.js

Next.js

The React Framework
+15.5k☆
2
React Query

React Query

Hooks for fetching, caching and updating asynchronous data in React
+13.6k☆
3
Recoil

Recoil

An experimental state management library for React apps
+11.1k☆
4
Ant Design

Ant Design

A UI Design Language and React UI library
+10.9k☆
5
React Hook Form

React Hook Form

React Hooks for forms validation (Web + React Native)
+10.8k☆

Guest Writer: Lee Robinson

Lee Robinson is a developer, writer, and creator who works at Vercel as a Solutions Architect.

Guest Writer leerob

The theme of the React ecosystem in 2020 was stability. While React 17 introduced no breaking changes, it laid the groundwork for the future: React Server Components.

React Server Components will change how we build React applications by reducing client bundle sizes and improving boot time. Further, they will simplify data fetching and access to data sources like databases and file systems.

Next.js has grown into the most popular solution for building React applications. Its hybrid approach will be the first application of React Server Components.

Supporting libraries like React Query, Recoil, and React Hook Form have matured and evolved around hooks. Each simplifies a piece of React development. When combined with polished component libraries, React developers have more tools than ever.

Vue Ecosystem

1
Vue Element Admin

Vue Element Admin

A magical vue admin
+16.0k☆
2
Vite

Vite

Next generation frontend tooling. It's fast!
+14.1k☆
3
Nuxt

Nuxt

The Intuitive Vue Framework
+8.2k☆
4
Element Plus

Element Plus

A Vue.js 3.0 UI Library made by Element team
+7.3k☆
5
vue-next

vue-next

Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
+5.9k☆

The biggest news in the Vue.js community is the release of version 3.

It comes with the new Composition API that addresses several limitations of Vue.js 2:

  • it was hard to organize code by logical concern inside components
  • it makes easier to reuse code across components (with Vue 2, mixins, mixing factory and scoped slots were not optimal)
  • it has a better TypeScript support

Check the migration guide for more details about the changes introduced by version 3.

Also a new web building tool Vite was created in 2020. Powered by ES modules, it's the fastest way to get started with a Vue.js application from the command line.

Angular Ecosystem

1
ngx-admin

ngx-admin

Customizable admin dashboard template based on Angular 10+
+2.5k☆
2
Material Design for Angular

Material Design for Angular

Component infrastructure and Material Design components for Angular
+1.5k☆
3
Scully

Scully

The Static Site Generator for Angular apps
+1.4k☆
4
Angular CLI

Angular CLI

CLI tool for Angular
+1.3k☆
5
NG-ZORRO

NG-ZORRO

Angular UI Component Library based on Ant Design
+1.2k☆

The top 5 Angular projects remain mostly the same as last year, apart from a new contender at number 3.

Scully is a static site generator which brings Angular to the Jamstack. The project was launched in December 2019 and has great documentation to help you get started.

Angular had three major releases in 2020.

Version 9 was released in February. The main change was moving to the Ivy compiler which brought smaller bundle sizes and many other build improvements. Version 10 and 11 came out later in the year.

A significant focus for the Angular team in the second half of the year was to listen to the community. The team made a big effort to triage issues and PRs to understand and address the needs of the community. They also released a roadmap to share what the team is working on and what they have planned for the future.

Build Tools

1
esbuild

esbuild

An extremely fast JavaScript bundler and minifier
+16.6k☆
2
Rome

Rome

The Rome Toolchain. A linter, compiler, bundler, and more for JavaScript, TypeScript, HTML, Markdown, and CSS.
+14.2k☆
3
Vite

Vite

Next generation frontend tooling. It's fast!
+14.1k☆
4
Snowpack

Snowpack

WASM-powered frontend build tool. Fast, lightweight, unbundled ESM.
+10.1k☆
5
Webpack

Webpack

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
+4.5k☆

Guest Writer: Sébastien Lorber

Sébastien is a React early adopter, working with Facebook Open-Source on Docusaurus.

Guest Writer slorber

2020 was a great year for build tools, we have seen many new trends.

Snowpack and Vite bet on the future with an ES modules first approach: they do not bundle your code in dev, have extremely fast feedback loops, and fallback to bundling only for production (until browser support increase).

swc and esbuild leverage Rust and Go to have incredible performances, both supporting TypeScript.

Webpack is often described as too complex, and simpler alternatives like Parcel and Rollup have matured. Webpack remains the de-facto build tool and its new caching layer could significantly improve your build performance.

Monorepos are becoming mainstream: Yarn and Lerna are widely used, and npm 7 joined the party.

Personal picks to watch in 2021: Rome, Toast, Turborepo

Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

Conclusion

It was another great year in the JavaScript landscape with several new leaders in the different categories tracked by Best of JS.

Backend developers can have fun with Deno and start hacking with TypeScript right away without having to worry about dependencies.

Frontend developers now have faster and simpler build tools with solutions such as esbuild, Snowpack and Vite.

Speaking of tooling, version 7 of NPM provides workspaces to handle several packages in a single repository, it was one of the big benefits provided by its rival Yarn.

For styling, a solution like Tailwind CSS also comes from the same direction, providing more simplicity and it's building an ecosystem around a simple concept.

What to expect for 2021?

It will be interesting to see what comes of the React Server Components.

Now that Sebastian McKenzie is working full-time on Rome, how far will it go in its attempt to unify JavaScript tooling. Could it be the single dependency to handle compiling, testing, linting... everything?

We'd keep an eye on the fullstack framework Redwood project too, that plays well with GraphQL and has a unique way to handle data fetching using what they call "cells".

Don't forget to check the results from the amazing State of JS survey if you want an other point of view over the trends, based on real user's feedback.

Thank you for your interest, and see you next year!

Authors