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.

Unit Testing React without Jest

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

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

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

Cross-Tab Title Hints

Hidden tabs can be made to work for your usersβ€”find out how πŸ‘€

In Defence Of Dialog

The modal dialog is here. Stop, and be prompted! βœ‹

Understanding Load Events on the Web

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

Recent Posts

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 πŸ₯³

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?

Code golf & the art of CSV parsing

What your minifer doesn't know, might hurt you.

Thoughts on Google and what's next

I'm leaving Google to join a tiny energy startup β˜€οΈπŸ”ŒπŸ”‹ as CTO!

Plex, Ubuntu & Quadro Cards on AMD

AMDs don't do hardware transcoding. You can buy a Quadro card and it works in Ubuntu / Linux.

How I Learnt To Stop Worrying And Love Animating The Box Model

Or, let's talk about accordions. πŸͺ—