This site runs best with JavaScript enabled.

Taming Complex React State with Union Types

An anti pattern I've seen on many React projects is having multiple boolean flags on your component's state that control different aspects of the same component. All too often these flags can contradict each other and lead to very subtle bugs that are difficult to catch until it's too late. Let's…

Read Article →