Writing
Archive
45 articles from 2019 to 2025. Most are about React, testing and CSS; the newest are about building software with AI.
2025
2021
2020
- Testing Hooks - Hooks for mass consumption
- Testing Hooks - Hooks for code reuse
- Testing Hooks - Hooks for code organization
- How to test React Hooks
- Conclusion
- How to test Compound Components
- How not to GraphQL
- How to test React Context
- How to test gatsby-node
- How to test SVG Graphs
- Least effort feedback
- Transforming data for simpler components
- How to make a dynamic interlocking image grid with CSS
- Goodbye presentational and container components?
- The snapshot testing tool
- Union type from an array of strings
- A less addictive slack experience
- Don't make assumptions about JS performance
- React Component API Design
- Compound Components: What, Why and When.
2019
- useSelector vs connect (react-redux)
- When utility classes get out of control
- Compiling NPM packages with typescript
- Reacts missing conditional class utility
- Some handy git aliases
- Creating a chrome extension with parcel
- Tailwind theming with CSS variables
- Guidelines for css utility classes
- z-index strategies
- Things I learned about media queries from Tailwind
- A gotcha when using gatsby, tailwind and purgecss
- Creating category pages for gatsby markdown blogs
- Inheritance media queries and css variables
- Theming with current color
- Magic numbers in css
- My css color system
- Moving elements on hover pattern