Notes, Ideas & Insights
A collection of thoughts, lessons, and discoveries from projects, experiments, and everyday problem-solving. Here, I share what I’m learning, the questions I’m exploring, and ideas that might help others along the way.
- 1 Sept 2026Shopify
Understanding Instruction Count in Shopify Functions
Learn how Shopify Functions instruction count works, how to measure it with Shopify CLI, and practical ways to optimise performance and stay within execution limits.
- 10 Aug 2026Engineering
Consider Preact for Theme Development
Preact can work alongside Liquid and Web Components to give Shopify theme JavaScript a consistent foundation for state, rendering and increasingly complex storefront interactions.
- 7 Aug 2026Engineering
Don’t Build Your Own UI Primitives
Building your own UI primitives often means solving accessibility, interaction and browser quirks from scratch. A mature framework provides a reliable foundation while keeping the design in your hands.
- 2 Aug 2026TypeScript
TypeScript Tip: Make Impossible States Impossible.
Multiple booleans can allow states your application should never reach. Discriminated unions make those impossible states unrepresentable and give TypeScript much stronger guarantees.