---
title: "The JavaScript 2021 megamix"
publication: "JavaScript Weekly"
issue: 570
published_at: "2021-12-24"
canonical_url: "https://javascriptweekly.com/issues/570"
---

Plus season's greetings to all of you. |        

#​570 — December 24, 2021 

[Unsubscribe](https://javascriptweekly.com/leave/*|UID|*)|[Read on the Web](https://javascriptweekly.com/issues/570)   

JavaScript Weekly   

The Best of JavaScript Weekly in 2021 

This is the last issue of the year (we're back on January 7, 2022) so we're taking a look back at some of the most popular items of 2021, starting with top links overall before moving on to top libraries, tools, videos, and more. You'll also find a quick month by month rundown in this issue, so there's sure to be something that'll catch your attention :-) 
____
_Peter Cooper, your editor_   

![](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/qibevt2smrj4qldfqbed.jpg)  

1. [ES2021: Here's the Features (Quickly)](https://h3manth.com/ES2021/) — Back in June of this year, the Ecma General Assembly [approved ES2021](https://twitter.com/robpalmer2/status/1407335682406760452). Work continues with [ECMAScript 2022 already having a draft spec](https://tc39.es/ecma262/). But this post flying through what's new in ES2021 (not a lot!) was _by far_ our most popular link of the year, amazingly. Dr. Axel Rauschmayer also had a popular post [rounding up ES2021](https://2ality.com/2020/09/ecmascript-2021.html). 

Hemanth HM   

2. [Comparing Svelte and React](https://www.jackfranklin.co.uk/blog/comparing-svelte-and-react-javascript/) — After spending an extended period of time working with both, the author identified his preference based on first hand observations supported with real-world examples. I suspect 2022 will continue to see Svelte taking big leaps forward. 

Jack Franklin    [![\](https://copm.s3.amazonaws.com/8199e33c.png)](https://getstream.io/blog/build-a-medical-pager-app/?utm_source=JavascriptWeekly&utm_medium=newsletter_content_ad&utm_content=Developer&utm_campaign=JavascriptWeekly_Dec2021_BuildMedicalPager) 

[Build a Mobile-Responsive Telehealth Pager App Using Stream’s Chat API](https://getstream.io/blog/build-a-medical-pager-app/?utm_source=JavascriptWeekly&utm_medium=newsletter_content_ad&utm_content=Developer&utm_campaign=JavascriptWeekly_Dec2021_BuildMedicalPager) — With Direct and Group Chats, emojis & Reactions, Built-in GIF support, the ability to edit & delete messages, specialized commands, and much more, this fully responsive Medical Pager is the best Chat App that you can currently find on YouTube. 

Stream sponsor     

3. [Comparing the New Generation of Build Tools](https://css-tricks.com/comparing-the-new-generation-of-build-tools/) — A detailed evaluation of a variety of approaches for bundling JavaScript and other front-end assets, including Snowpack, esbuild, Vite, and wmr. A handy overview. 

Hugh Haworth   

4. ['Rust is the Future of JavaScript Infrastructure'](https://leerob.io/blog/rust) — It’s an opinion but the (still) growing evidence is compelling. Rust (as well as Go) is now being heavily used to replace parts of the JavaScript tooling ecosystem that might have otherwise been written in JS before (e.g. Rome, SWC, dprint). 

Lee Robinson   

5. [The State of Web Workers in 2021](https://www.smashingmagazine.com/2021/06/web-workers-2021/) — The web is single-threaded, but two years ago Surma told us [why to always use Web Workers](https://surma.dev/things/when-workers/) and why to bring multithreading to your solutions despite the difficulties. [Almost every client supports](https://caniuse.com/webworkers) them now, so Surma made the case again. 

Surma   

6. [Rethinking JavaScript's Ternary Operator](https://jrsinclair.com/articles/2021/rethinking-the-javascript-ternary-operator/) — `ternary ? "yes" : "no"` … A lot of developers regard the ternary operator “with suspicion”, says James. Does its brevity warrant its use alone? Is it something you can “trust”? James also looks at a future alternative coming to the language. 

James Sinclair    

[React Authentication, Simplified](https://userfront.com/tutorials/react-authentication.html) — In this article, we lay out a new approach to authentication (plus access control & SSO) in React applications. 

Userfront sponsor    

📅 JavaScript's 2021: Month by Month  

**JANUARY:** The [State of JS 2020 results](https://2020.stateofjs.com/en-US/) came out. As did [Snowpack 3.0](https://www.snowpack.dev/posts/2021-01-13-snowpack-3-0). React's original creator [left Facebook](https://twitter.com/jordwalke/status/1347695301436456963?s=20). 

**FEBRUARY:** [npm 7.0](https://github.blog/2021-02-02-npm-7-is-now-generally-available/) was released, as was [Vite 2.0](https://dev.to/yyx990803/announcing-vite-2-0-2f0a). 

**MARCH:** The Node.js team began thinking about [the next 10 years of Node.](https://nodejs.medium.com/next-10-years-of-node-js-understanding-the-needs-of-the-node-js-constituencies-2f95a1df6a6f) Meanwhile, [jQuery 3.6.0 was released.](https://blog.jquery.com/2021/03/02/jquery-3-6-0-released/) V8 [sped up its release cycle.](https://v8.dev/blog/faster-releases) The [ES2021 candidate spec](https://tc39.es/ecma262/2021/) was released. [V8 9.0](https://v8.dev/blog/v8-release-90) was released. The [Deno company was founded.](https://deno.com/blog/the-deno-company) 

**APRIL:** [Node.js 16](https://medium.com/the-node-js-collection/node-js-16-available-now-7f5099a97e70) was released. The ES module approach in Node [began to take off.](https://dmitripavlutin.com/ecmascript-modules-nodejs/) 

**MAY:** The Rome folks [created a company, raised money, hired folks](https://rome.tools/blog/announcing-rome-tools-inc/) and more. 

**JUNE:** [Undici 4](https://nodejs.medium.com/introducing-undici-4-1e321243e007) was released and pushed as a new better alternative HTTP client for Node.js. The [plan for React 18](https://reactjs.org/blog/2021/06/08/the-plan-for-react-18.html) was unveiled. ES2021 was fully approved. 

**JULY:** Low code environment [Node-RED 2.0](https://nodered.org/blog/2021/07/20/version-2-0-released) was released. 

**AUGUST:** The Wikimedia Foundation [picked Vue.js](https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/SOZREBYR36PUNFZXMIUBVAIOQI4N7PDU/) as its frontend framework of choice. [Vue 3.2](https://blog.vuejs.org/posts/vue-3.2.html) was released. The Ruby on Rails team considered [a new approach to handling JavaScript](https://world.hey.com/dhh/modern-web-apps-without-javascript-bundling-or-transpiling-a20f2755) in its popular Ruby framework. 

**SEPTEMBER:** Node.js gained an experimental package manager _manager_ (sic) called [Corepack](https://nodejs.org/dist/latest-v16.x/docs/api/corepack.html). 

**OCTOBER:** [Node 17](https://nodejs.org/en/blog/release/v17.0.0/) was released. React's [new docs site](https://beta.reactjs.org/) was unveiled. jQuery Mobile [was deprecated.](https://blog.jquery.com/2021/10/07/jquery-maintainers-continue-modernization-initiative-with-deprecation-of-jquery-mobile/) [Parcel 2](https://parceljs.org/blog/v2/) was released. The Remix project took [$3m in funding.](https://remix.run/blog/seed-funding-for-remix) [Gatsby 4](https://www.gatsbyjs.com/blog/whats-new-in-gatsby-4/) was released. 

**NOVEMBER:** [React 18 entered beta.](https://github.com/reactwg/react-18/discussions/112) [Angular 13](https://blog.angular.io/angular-v13-is-now-available-cce66f7bc296) was released. Remix was [open sourced.](https://remix.run/) 

**DECEMBER:** [Create React App 5.0](https://github.com/facebook/create-react-app/releases/tag/v5.0.0) was released.  

🛠 Top Code & Tools of 2021  

[zx: A Tool for Writing Better Shell Scripts](https://github.com/google/zx) — Rather than using something like `bash` to throw together a quick script, `zx` provides a variety of niceties to do the same with the JavaScript you know and love. 

Google   

[Over 100 Algorithms and Data Structures Demonstrated in JS](https://github.com/trekhleb/javascript-algorithms) — Examples of many common algorithms (e.g. bit manipulation, Pascal’s triangle, Hamming distance) and data structures (e.g. linked lists, tries, graphs) with explanations. 

Oleksii Trekhleb et al.    

[Shortcut Puts the Agile in Agile and the “Can” in Kanban](https://shortcut.com/?utm_source=cooperJSWeekly&utm_medium=spon_nl&utm_campaign=prospecting&utm_content=kanban) 

Shortcut (formerly Clubhouse.io) sponsor     

[HTM 3.1.0: A JSX Alternative using Standard Tagged Templates](https://github.com/developit/htm) — This clever library has been around a few years but continues to see updates. Think JSX-style syntax but in plain JavaScript (using tagged templates) that requires _no transpilation_ but still supports things like rest spread and referencing components. 

Jason Miller  

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/lbya5pyfwedazjpwjggv.jpg)](https://yaireo.github.io/tagify/)   

[Tagify: An Elegant Input Component for Tags](https://yaireo.github.io/tagify/) — The polished demos show a lot of effort has been put in here. [GitHub repo.](https://github.com/yairEO/tagify) 

Yair Even-Or   

[Typehole: VS Code Tool to Automatically Generate TypeScript Types and Interfaces](https://github.com/rikukissa/typehole) — An extension that helps you automate creating the initial static types for runtime values. 

Riku Rouvila   

[Cheetah Grid: The Fastest Open-Source Data Table for the Web?](https://github.com/future-architect/cheetah-grid) — A bold claim from a library we hadn't encountered before. There’s [a live demo here](https://future-architect.github.io/cheetah-grid/#/) with 1,000,000 records in a table if you want to try it for yourself, though. A new release just dropped this week too. 

Future Corp    

💻 Jobs  

[React Frontend or Full-Stack Engineer at Uplift (US Consultancy)](https://www.uplift.ltd/careers/) — Enjoy a flexible schedule while building web and mobile apps with modern technologies on a wide variety of projects. 
Uplift Agency Ltd   

[Engineering Manager - Front End (Remote)](https://jobs.lever.co/kraken/6fcaaa58-d1f2-478b-be26-9ddb7e24a89e?lever-origin=applied&lever-source%5B%5D=Frontend%20Focus) — With over 8 million clients, Kraken is one of the world's largest, most successful bitcoin exchanges. 
Kraken   

[Find JavaScript Jobs with Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-javascriptweekly%29&utm_content=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 
Hired    

📺 Popular Videos of 2021  

▶[JavaScript's Creator Brendan Eich Shares His JavaScript Story](https://www.youtube.com/watch?v=krB0enBeSiE) — Lex Fridman is an AI researcher who’s becoming well known for high quality [interviews](https://lexfridman.com/podcast/) and here he spoke with Brendan Eich about his coding history, JavaScript’s full origin story, the browser wars, and Brave. 

Lex Fridman   

▶[What You _Need_ to Know About React 18](https://www.youtube.com/watch?v=uOGImWM85Uw) — This year we shared [this official plan for React 18](https://reactjs.org/blog/2021/06/08/the-plan-for-react-18.html) and while it's still 'almost here' the community set to work chewing over what it all means. 

Harry Wolff    

[Beyond onClick: Handling Events in React](https://go.lightstep.com/register-beyond-onclick-guide-co21?utm_campaign=js&utm_source=cooper&utm_medium=Email) 

Lightstep sponsor     

▶[Coding Up a Mario Game in JavaScript with Kaboom.js](https://www.youtube.com/watch?v=2nucjefSr6I) — One of the most popular JavaScript YouTubers of 2021 showed us how to create a basic platformer in the course of an hour in her typically breezy, easy to follow manner. 

Ania Kubów   

▶[Ten JavaScript Clean Code Examples](https://www.youtube.com/watch?v=-d-jrxy6YbE) — Thoughts on ten examples of approaches worth considering if you’re trying to keep your code clean. It’s based on [this article](https://dev.to/redbossrabbit/10-clean-code-examples-javascript-37kj) by Ibeh Ubachukwu. 

Adrian Twarog   

▶[Have Single-Page Apps Ruined the Web?](https://www.youtube.com/watch?v=860d8usGC0o) — The creator of frontend framework Svelte spoke about the criticisms lodged towards single-page apps and how ‘transitional apps’ may be the way forward. Might be an idea to keep in mind for 2022. 

Rich Harris     

**That's a wrap..** 

Phew, that was a lot of ground to re-cover, but hopefully it's resurfaced some things you missed at the time :-) Many thanks for reading JavaScript Weekly this year. From all of us here at Cooperpress, season's greetings to you, however you celebrate (or not!) 😄
__
_Peter Cooper, your editor_          

Published by [Cooperpress](https://cooperpress.com/) and edited by [Peter Cooper](https://twitter.com/peterc) 

'JavaScript' is a trademark of Oracle Corporation in the US
We are not endorsed by or affiliated with Oracle. 

[Change your email address](https://javascriptweekly.com/edit_subscription/*|UID|*) or [stop getting this newsletter](https://javascriptweekly.com/leave/*|UID|*). 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
