Asserting Function Calls in Storybook Interaction Tests
TestingHow to test whether a function has been called in a Storybook interaction test.
An Opinionated Guide to Building Unopinionated Components
Design SystemsBest practises for building un-opinionated, flexible, and composable components, in line with Atomic Design.
Typing Functions Which Might Not Exist
TypeScriptHow can we correctly type — and then call — global functions when we don't know for certain whether they actually exist?
Documenting React Hooks With Storybook
Storybook, Design SystemsStorybook is great for documenting UI components, but did you know it can document your shared React Hooks too?
Creating Apple Shortcuts with Shortcuts JS
Open SourceI reversed-engineered Apple's .shortcut format and built a library to make creating Shortcuts easier.
Writing Kick-Ass Sass With OOSass
CSSThe endless joys of composing Sass' placeholder selectors.
Using Typographical Ornaments on the WebTODO