Latest Post
22 Jul

Making impossible states impossible: data structures in React

Today we're talking about avoiding bugs by structuring your data such that the bug can never occur.

Read more
09 Jul

Saving manual work with babel-plugin-macros

Today I used babel-plugin-macros for the first time to save some heavy lifting and I wanted to share my experience using it.

Read more
08 Jul

Structuring React applications

Today's post lays out my current thinking and approach to structuring React applications: the folder structure I use, my naming conventions, where I write tests, and so on.

Read more

Don't miss my latest course, React in Five! This course will help you level up your React skills by covering lesser known parts of the React API. Each video is less than five minutes long, and the first four are free to watch.

Get started
28 Jun

Converting a JS library to TypeScript: Part 3

Today we're continuing to convert test-data-bot into TypeScript.

Read more
20 Jun

Avoiding recursive useEffect hooks in React

A short post today about an easy tactic to avoid your useEffect calls becoming recursive when setting state.

Read more

Keen to understand how best to test your React components? In "Testing React with Enzyme and Jest" we will cover a variety of unit testing tips, tricks and techniques to give you confidence in knowing not only how to test, but what to test. Watch the first five videos for free on YouTube now!

Get started
14 Jun

Converting a JS library to TypeScript: Part 2

Today we're continuing to convert test-data-bot into TypeScript.

Read more
10 Jun

Things I was wrong about when I started programming

In today's post I want to talk about some things I thought to be true when I started as a programmer, or habits I had, that I've now changed as I learn and reflect on my career so far.

Read more