XState 6.0.0-alpha.48

6.0.0-alpha.48Pre-release
Added 1
  • Add createMachineFromSCXML(...) function through the xstate/scxml entry point to create machines that follow strict SCXML behavior for transition selection, executable content, datamodel evaluation, invocation, event metadata, and completion

From XState

Patch Changes
  • 7601447: Add createMachineFromSCXML(...) through the xstate/scxml entry point. Converted machines follow strict SCXML behavior for transition selection, executable content, datamodel evaluation, invocation, event metadata, and completion.

    import { createMachineFromSCXML } from 'xstate/scxml';
    
    const machine = createMachineFromSCXML(scxml);
    
View original

Upgraded? How did it go?

Discussion