XState author is porting state machines to Effect, with two Effect-native machine libraries emerging

DavidKPiano · x · 2026-09-04

XState author DavidKPiano is working on integrating XState with Effect: XState provides type-safe state-machine logic while Effect adds typed failures, requirements, schemas and structured concurrency. The goal is to run existing XState machines in Effect with minimal changes. The ecosystem already includes two Effect-specific libraries, notably typeonce-dev's effect-machine — a schema-first, fully type-safe state machine/statechart library inspired by XState (174 GitHub stars) that aims to become a core Effect module.

Related event: XState Author Moves State Machines to Effect with Experimental PR(2 posts)→

Original post →

More from coding & agent

coding & agent channel →