Thinking with types: building a Finite State Machine with TypeScript to drive an app's UI
In my previous post I mentioned that I wanted to model my pokedex's interface interaction as a state machine.
I wanted implement a state machine with TypeScript to handle that for me. So I figured that I would share what I learned!
First, why?
The fu...
blog.jrlgs.dev22 min read