I don't know much about XState but it looks more like a dynamically interpreted execution state machine.