xState author opens experimental @xstate/effect PR bridging Effect 4 with XState v6

DavidKPiano · x · 2026-09-03

davidkpiano opened PR #5687 adding an experimental @xstate/effect package for Effect 4 with XState v6. The machine model and transition semantics stay unchanged, while enabling: running an existing machine as a scoped Effect resource with Layers, Scope and TestClock; invoking Effect values and streams as actors with typed failures and service requirements; defining actions that return Effects; and observing actors through Effects and Streams.

Original post →

More from coding & agent

coding & agent channel →