Machine stays in state bbb
Machine transitions to state aaa
I'd like to have top-level actions that modify context without changing the current state.
I can confirm that this seems broken in XState 4.6, but seems to be fixed i 4.7 (currently at RC stage) - https://codesandbox.io/s/wizardly-lamarr-eo00y
Updated some older code from XState 4.4 to 4.6 today and got burned by this one, too.
This looks an awful lot like #507 (which was fixed in #545 but hasn't been released yet).
Try it out with xstate@next please 馃檹 This issue should be resolved.
Closing as this is resolved in xstate@next
Most helpful comment
I can confirm that this seems broken in XState 4.6, but seems to be fixed i 4.7 (currently at RC stage) - https://codesandbox.io/s/wizardly-lamarr-eo00y