#603 — August 26, 2022 |
If you missed my note two weeks ago, we took last week off, so you didn't miss any issues :-) We're now back every week until Christmas (121 sleeps to go..) |
JavaScript Weekly |
When Alternative JS Runtimes Grow Up: Deno Has Big Changes Ahead, and the Creator of Bun Forms Oven Two distinct stories that we felt deserved to be together as they provide a little look at the development of alternative server-side JavaScript runtimes that aren't Node.js and are both going after overlapping markets. Deno's big news is that they're working hard on npm compatibility and Deno will be able to use most npm modules soon (Deno 1.25 has been released with a preview). Meanwhile, Jarred Sumner, the creator of Bun, has answered our pun prayers and formed Oven, a company to support Bun's development, and already raised $7m for it. The heat is, most certainly, on. → deno.com/blog/changes DENO AND OVEN |
▶ On the Future Features of JS — Hemanth is a TC39 delegate and hosts the popular TC39er podcast. In this 25-minute talk, he flies through a variety of current language proposals, their progress, and why they matter. Hemanth HM |
Take a Tour of JavaScript & React Patterns — Join Lydia Hallie for the video course covering design patterns you can use to improve the code architecture of your web apps. Learn traditional JavaScript design patterns, React patterns, performance, and reading patterns. Frontend Masters sponsor |
TypeScript 4.8 Released — The typed superset of JavaScript continues to remain popular. 4.8 is more a minor evolution than a revolution, but makes improvements to inference, correctness and consistency, file watching, and serious speedups on rebuilds. Daniel Rosenwasser (Microsoft) |
Crawlee: A New Web Scraping / Automation Library for Node.js — It’s always neat to see a new project launched with some fanfare. Crawlee gets a 3 minute introductory screencast, a launch post, and a nice homepage. It builds on top of things like Puppeteer and Playwright but can handle proxies, retries, spidering, working around blocks, and the like. Apify |
IN BRIEF:
|
RELEASES: Solid 1.5 – Declarative and flexible JS UI library. |
📒 Articles & Tutorials |
Understanding When and Why React Re-Renders — The processes around rendering are important to understand if you want to get the best performance possible from your React apps, so learn why and when React re-renders in the first place. Josh W. Comeau |
❤️ Loving console.log Is Easy, but Hate 😡 Losing Context to View Messy Output — Developer productivity tools Wallaby.js, Quokka.js, and Console Ninja (coming soon) show console.log values and errors right next to your code. Wallaby.js sponsor |
Popular Node.js Patterns and Tools to Reconsider? — Yoni is well known for his work in cataloging Node best practices (certainly worth looking at!) but he thinks we should reflect upon entrenched approaches over time. Here he presents 9 common approaches to reconsider. Yoni Goldberg |
(Re-)Introducing Gatsby as a 'Reactive Site Generator'? — Gatsby’s new focus is on enabling teams to deploy content rapidly with a new architecture that they say allows Gatsby Cloud to publish to its CDN in under a second. This post benchmarks Gatsby’s “Reactive Site Generation” (RSG) approach against most traditional approaches. Kyle Mathews |
Advanced TypeScript Patterns: API Contracts |
My Experience of Speaking at VueConf US 2022 |
Installing and Running Node.js |
🛠 Code & Tools |
pico.js: Face Detection Library in 200 Lines of JS — The author of a C-based face detection library has turned his hand to JavaScript and here’s the end result. There’s a live demo that runs well and the linked post explains how it works in depth. Nenad Markuš |
GopherJS: A Go(lang) to JavaScript Transpiler — The latest beta brings it up to Go 1.18 (though without generics for now, alas) and ES6/ES2015 standards. There’s an online playground if you want to have a quick play. GopherJS |
Introducing the Most Powerful Free Plan in CI/CD — No limits on concurrent jobs, pipelines, CPU, or memory. Built-in tracking & monitoring for tests. 10,000 minutes/month. Buildkite sponsor |
inappbrowser.com: See What JS is Injected by In-App Browsers — The idea is simple: you share the URL https://inappbrowser.com/ within an app of choice, click through to it, and the resulting landing page will tell you if it detects any JavaScript or CSS it didn’t supply itself. Felix Krause |
Node v16.17.0 (LTS) Released — A useful LTS release with a couple of modern backported features – this time, 16.x users gain access to the Michaël Zasso |
NodeGui: Build Cross Platform Desktop Apps with JS and CSS — Differs from Electron in using the Qt GUI framework which can make things more complicated but also more efficient in terms of memory use. NodeGui |
Free Activity Feeds & Chat APIs for Qualifying Teams Stream sponsor |
react-easy-crop 4.5: A Component to Crop Images and Videos |
Seven Tools for Creating a New React App |
OTHER QUICK RELEASES: Focus Trap 7.0 – Trap the focus within a DOM node (e.g. a modal). |
|
🥳 A Quick Bit of Fun |
Head straight back to the 90s / early 00s and enjoy some retro Web cursor effects. Next up: custom scrollbars, 10px Tahoma, and scrolling frames everywhere. |