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 |
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. Jack Franklin |
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). Lee Robinson |
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. Userfront sponsor |
|
📅 JavaScript's 2021: Month by Month |
🛠 Top Code & Tools of 2021 |
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. Jason Miller |
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 |
|
▶ 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 |
|