Writing

Archive

45 articles from 2019 to 2025. Most are about React, testing and CSS; the newest are about building software with AI.

2025

  1. Talking to the computerAI
  2. Archiving Robust UIReact · Testing
  3. AI coding - prototypingAI
  4. AI coding - contextAI

2021

  1. Do you need unit and end-to-end tests?Testing
  2. Private and public functions in ReactReact · Testing
  3. Redux selector test duplicationJavascript · Testing
  4. Sharing code between gatsby-node and componentsGatsby

2020

  1. Testing Hooks - Hooks for mass consumptionReact · Testing
  2. Testing Hooks - Hooks for code reuseReact · Testing
  3. Testing Hooks - Hooks for code organizationReact · Testing
  4. How to test React HooksReact · Testing
  5. ConclusionReact · Testing
  6. How to test Compound ComponentsReact · Testing
  7. How not to GraphQLGraphQL
  8. How to test React ContextReact · Testing
  9. How to test gatsby-nodeGatsby · Testing
  10. How to test SVG GraphsReact · Testing
  11. Least effort feedbackProductivity
  12. Transforming data for simpler componentsReact
  13. How to make a dynamic interlocking image grid with CSSCSS
  14. Goodbye presentational and container components?React
  15. The snapshot testing toolTesting
  16. Union type from an array of stringsTypescript
  17. A less addictive slack experienceProductivity
  18. Don't make assumptions about JS performanceJavascript
  19. React Component API DesignReact
  20. Compound Components: What, Why and When.React

2019

  1. useSelector vs connect (react-redux)React · Redux · Testing
  2. When utility classes get out of controlTailwind
  3. Compiling NPM packages with typescriptTypescript
  4. Reacts missing conditional class utilityReact
  5. Some handy git aliasesGit
  6. Creating a chrome extension with parcelReact
  7. Tailwind theming with CSS variablesTailwind
  8. Guidelines for css utility classesCSS
  9. z-index strategiesCSS
  10. Things I learned about media queries from TailwindTailwind
  11. A gotcha when using gatsby, tailwind and purgecssTailwind · Gatsby
  12. Creating category pages for gatsby markdown blogsGatsby · React
  13. Inheritance media queries and css variablesCSS
  14. Theming with current colorCSS
  15. Magic numbers in cssCSS
  16. My css color systemCSS
  17. Moving elements on hover patternCSS