Modeling State with TypeScript

By Peter Caisse on December 12th, 2019

Working with frontend state can be challenging. With TypeScript, thoughtfully constructed types can help prevent bugs by making bad states unrepresentable. Let's explore a common use case and examine how to do this effectively in TypeScript.