Articles
-
I finally used WeakMap!
A look into how I used WeakMap for optimisation in a recent project.
-
Dynamic Placeholder Images for Testing
An approach for generating dynamic placeholder images for visual regression testing.
-
Did you know about native macOS tabs in vscode?
vscode has a native macOS tabs option and it make working with multiple projects a breeze.
-
How I optimised icon loading in Storybook and Vite
A look into a recent project to reduce load times and optimise icon loading in Storybook using @storybook/builder-vite.
-
Globs are built-in!
Did you know globs are built in to Unix and therefore macOS.
-
Invariant what is it?
Looking at what invariant means in the context of Computer Science and why it is useful.
-
The lesser-known ^? comment
A look at a special comment character from a library called twoslash and what it does.
-
The two ways to test errors in Jest
A summary of the 2 ways of testing errors in the Jest testing framework.
-
Thoughts on simplifying long if statements
Some thoughts on simplifying long if statements to be more readable.
-
How to Quickly Find MDN Articles
A tip for getting to MDN Articles faster.
-
How Experimental Browser Features Helped Me Verify a Hypothesis
A look at how I solved an issue with scrollbars and an accordion animation using experimental browser features.
-
You might want Pick not Partial in TypeScript
When writing TypeScript you might be better using Pick instead of Partial
-
Jest's test.each just got a whole lot better
Jest added a new feature to test.each that helps with writing readable and maintainable tests.
-
Better Late than Never
Why my blog is currently using an eleventy starter theme.
-
Extracting Twitter Bookmarks
Why I wanted to get Twitter bookmarks out of Twitter, and how you can too.