Posts
-
Asserting Function Calls in Storybook Interaction Tests
How to test whether a function has been called in a Storybook interaction test. -
An Opinionated Guide to Building Unopinionated Components
Best practises for building un-opinionated, flexible, and composable components, in line with Atomic Design. -
Typing Functions Which Might Not Exist
How 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 is great for documenting UI components, but did you know it can document your shared React Hooks too? -
Creating Apple Shortcuts with Shortcuts JS
I reversed-engineered Apple's .shortcut format and built a library to make creating Shortcuts easier. -
Writing Kick-Ass Sass With OOSass
The endless joys of composing Sass' placeholder selectors.