Why document.write() is bad
#622 — January 20, 2023
McCabe, Michaud, Rezvov, Dahl / V8 Team
Why Is My Jest Suite So Slow? — Jest is known for its speed and simplicity so the author was surprised at how quickly his team’s test suite was slowing down. This is a write up of the ensuing investigation along with the improvements that slashed test running time.
The folks at NodeSource have put together a top 10 list of Node open-source projects ‘to keep an eye on’ in 2023.
⭐️ esbuild 0.17.0
↳ Popular bundler. Note that this is a key release with backwards incompatible changes.
↳ Build SPAs for any backend.
↳ Popular full stack framework.
📒 Articles & Tutorials
🎨 Building an Accessible Theme Picker — An attractively presented, easy to follow tutorial for a handy site feature.
Sarah L. Fossheim
Fixing a Memory Leak in a Production Node.js App — Kent encountered a variety of weird memory and CPU usage spikes in his Node-powered app and decided to figure out what was going on. This post walks through his complete journey, with plenty of side problems encountered along the way, before discovering the root cause was where he least expected it.
Kent C Dodds
Build a Mobile-Responsive Telehealth Pager App Using Stream’s Chat API — Build a responsive chat app with emojis/reactions, built-in GIF support, ability to edit/delete messages, direct & group chat, and more.
📊 A Beginner’s Guide to Chrome Tracing — For when you want to go deeper than the Performance tab. With tracing, you can record what a browser is up to far behind the scenes.
Handling Errors Like a Pro in TypeScript — “Learn the design pattern I use to handle errors and write cleaner code.”
A Beginner’s Guide to async/await with Examples
10 Mistakes to Avoid When Starting with Vue 3
🛠 Code & Tools
RoughNotation: Cute Animated ‘Rough’ Text Annotations — Uses Rough.js (itself a project worth checking out) to get a hand-drawn look. Lots of nice interactive examples on the page showing a variety of annotation styles (boxes, underlines, circles..)
Free Website Speed Test: Does Your Site Meet Google’s Core Web Vitals? — Get an in-depth technical analysis of your site and learn how to make it fast. Rank higher in Google & deliver great UX.
Modern Errors: Handle Errors in a Simple, Stable, Consistent Way — Create error classes, wrap or aggregate errors, or use one of several plugins to do things like print bug reporting info, print stack traces, or more. Happy in both Node and the browser.
Shifty: A Small, Fast Tweening Engine — All it does is tweening. It’s a low level animation solution that you can integrate into any rendering mechanism of your choice. The examples here demonstrate it well as it can be used for ‘animating’ things in an unconventional sense. GitHub repo.
Barba.js: For Smooth Visual Transitions Between Pages — You certainly can’t say the project’s homepage doesn’t show off all of its features! For such a dramatic set of effects, things feel smooth and.. surprisingly tolerable 😁 GitHub repo.
De Rosa, Michel, et al.
Shortcut (formerly Clubhouse.io) sponsor
↳ Serialize JS to a JSON superset.
↳ Axios plugin that retries failed requests.
Axios 1.2.3 – Popular HTTP client library.
Commander.js 10.0 – Node.js CLIs made easy.
Mineflayer 4.7 – JS API for Minecraft bots.
Wretch 2.4 – Fetch API wrapper with niceties.
Developer Relations Manager — Join the CKEditor team to build community around an Open Source project used by millions of users around the world 🚀