The state of Web Workers

July 9, 2021 By Mark Otto Off

Uptime Monitoring Is Now Available in AppSignal — Uptime monitoring is the first line of defense against downtime. Ping your apps every minute from 4 locations around the world and receive alerts when something is down. Now you’ll know about downtime before your users do.

AppSignal

npm audit: Broken by Design“The way npm audit works is broken. Its rollout as a default after every npm install was rushed, inconsiderate, and inadequate for the front-end tooling.” Dan adopts an untypically critical tone but does a good job of demonstrating how vulnerabilities are not all alike when it comes to whether they matter.

Dan Abramov

A Look at Building with AstroAstro, which we featured a month ago, is a new framework for building sites where you get to use JavaScript frameworks but sites are rendered in static form.

Chris Coyier

Quick Bits

Releases

Highlight.js 11.1 — Web syntax highlighter library.
Gatsby 3.9 — React ‘dynamic site generator.’
zx 2.0 — Better scripting with Node.js.
Snowpack 3.8 — Module driven frontend build tool.
ckeditor 29.0 — Rich text editor framework.
Rollup 2.53.0 — Next-generation ES module bundler.
TIFF 5.0 — TIFF image decoder written entirely in JS.

Find a Job Through 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

📖 Articles, Opinions & Tutorials

TypeScript and Native ESM on Node.js — This topic comes up time and time again, and for good reason – it’s the way things are headed. Dr. Axel covers the essentials you need to know in order to use and produce native ECMAScript/ES modules on Node when using TypeScript.

Dr. Axel Rauschmayer

How to Use Promise.all() — Handle multiple promises at once, in parallel, and then get the result in a single aggregate array.

Dmitri Pavlutin

When a Click is Not Just a Click — There are nuances to consider when listening for a click event (such as a ‘click’ sent from a keyboard versus one from a mouse). This post dives into how you can distinguish different types, and what opportunities arise from identifying them.

Travis Almand

▶  Using Deno Deploy to Release Super Fast Cloud Functions — Jack promises a look into the “potential JavaScript future” by building a chat app using Deno (a Node-a-like built by Node’s original author, no less) and deploying it on the Deno Deploy platform. This is easy to understand and follow along with, and the approach taken feels so natural.

Jack Herrington

Breaking Down Bulky Builds with Netlify and Next.js — Using Next.js’ Incremental Static Regeneration (ISR) coupled with on-demand builders and Netlify’s Next on Netlify build plugins to create a site that builds certain routes only when needed, cutting the build time down dramatically.

Átila Fassina

🛠 Code & Tools

Mantine 2.0: Full Featured React Component Library — An MIT licensed, TypeScript-based collection of over 100 components and hooks with native dark theme support and a focus on usability and accessibility. Plenty of documentation and examples.

Mantine Team