Node

Programming to an interface with typescript

Programming to an interface is a surefire way to increase the value of your code. Let's explore how we can do this with typescript on a node project using the factory pattern.

Read
React

The root component pattern

Learn how to set the root type of a component via a prop. A pattern seen in many popular libraries including material-ui.

Read
Testing

The four types of testing and when to use them

There are four types of test. Here I explain how, and when, to use them, including example tools for a React application.

Read
Devops

Editing VSCode settings

A quick tutorial showing the three different ways of personalising your VS code settings.

Read