statelyai/xstate: State machines and statecharts for the modern web.
Introducing: TypeScript typegen for XState
@xstate/svelte | XState Docs
kenkunz/svelte-fsm: Tiny, expressive finite state machines for svelte
Signals and Threads | State Machine Replication, and Why You Should Care
State machine replication, and why you should care | Hacker News