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
2. Comparing Svelte and React— 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.
Build a Mobile-Responsive Telehealth Pager App Using Stream’s Chat API— 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— 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'— 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).
6. Rethinking JavaScript's 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— In this article, we lay out a new approach to authentication (plus access control & SSO) in React applications.
JUNE:Undici 4 was released and pushed as a new better alternative HTTP client for Node.js. The plan for React 18 was unveiled. ES2021 was fully approved.
JULY: Low code environment Node-RED 2.0 was released.
zx: A Tool for Writing Better Shell Scripts— 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.
HTM 3.1.0: A JSX Alternative using Standard Tagged Templates— 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.
Find JavaScript Jobs with Hired— Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers.
Hired
▶ Coding Up a Mario Game in JavaScript with Kaboom.js— 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.
▶ Have Single-Page Apps Ruined the Web?— 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