0

I wrote a tiny state machine library this weekend

Roughly 200 lines, no dependencies. Turns out most UI bugs I write are just unhandled states.

1 reply

to join the conversation.

This is basically the only reason I still reach for XState — the guarantees, not the API.

3