Sam Thorogood
About Sam Sam's head

Popular Posts

AWS Amplify Is A Grift

Something something Amplify is bad

Baldur's Gate 3 Character Choice

Explaining the confusing way in which BG3 plays

Make Async Methods Sync in Node.js

You shouldn't block the main thread to make async methods sync... unless, hmmmm? ๐Ÿค”๐Ÿ’ญ

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.

Understanding Load Events on the Web

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

Recent Posts

CJS Equivalency

Some musings on CJS vs ESM and how to support old code

December Tech Vibe Check

What's been up in Sam's tech life at the end of 2023

Opinions On Sydney Rail Transport

I'm funemployed now so have too much time to think about these things

AbortController for expiry

The AbortController can be flipped on its head for memoized/cached values. Learn how.

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. ๐Ÿ‘€

Event-Driven JavaScript Development

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

Cross-Tab Title Hints

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