Major Changes
-
#3952
ec300837e
Thanks @davidkpiano! - The output data on final states is now specified as.output
instead of.data
:const machine = createMachine({ // ... states: { // ... success: { - data: { message: 'Success!' } + output: { message: 'Success!' } } } })
-
#2881
2f45343c5
Thanks @davidkpiano! - Target resolution improvements: targeting sibling nodes from the root is no longer valid, since the root node has no siblings:createMachine({ id: 'direction', initial: 'left', states: { left: {}, right: {} }, on: { - LEFT_CLICK: 'left', + LEFT_CLICK: '.left' } });