Think Xstate[0] machines are a little more intuitive than the conditional value structuring displayed here in the example, but it is an interesting idea indeed.
[0]: https://github.com/statelyai/xstate?tab=readme-ov-file#super...