Robot for State Machines

Matthew Philips just dropped Robot, an incredibly tiny finite state machine library.

I love FSMs. They simplify so many problems.


I was reading through the docs this morning. I’ve been considering pulling XState into a React component library we maintain at work and the 1kB size of this is really appealing for something that will ultimately add to each product’s bundle.

I’m excited to start digging into it this week.

Really like this quote from the docs:

Finite State Machines are like static typing for your states.

1 Like