Whistlr
@samthor
About Sam Sam's head

Popular Posts

AbortController is your friend

The AbortController is ostensibly for fetch, but it has some other ways we can use it too.

Event-Driven JavaScript Development

You should be building objects that emit their own events in JS. Learn how!

Understanding Load Events on the Web

We use the load and DOMContentLoaded events in our scripts, but do you understand why?

In Defence Of Dialog

The modal dialog is here. Stop, and be prompted! ✋

Unit Testing React without Jest

Using the power of JSDOM, we can avoid Jest and its legacy code completely.

Node.js Streams & Object Mode

Streams for bytes are rarely useful, and objectMode can be made better.

Recent Posts

Practical Python Modules

Python modules suck—here's some guidance if you've used Node.

Focus Management in 2022 📺

I spoke about <dialog> and inert! Watch it, plus read an addendum. 👀

Cross-Tab Title Hints

Hidden tabs can be made to work for your users—find out how 👀

Three Fun Facts on Australian Federal Elections

Want esoteric election content? Look no further! 🗳️

Builtin Node.js Testing

It's 2022, and you can test your Node.js code without ANY dependencies 🥳

(P)react vs Web Components: a Xoogler's perspective

My job was Web Components! For years! Read some thoughts.

Major Node Changes

(Updated for v18) Summary of major features in Node releases.

Foot Pedal For Mute

You've got hands. Why not try feet?