vscode-xstate
vscode-xstate copied to clipboard
Cyclical `always` transitions result in "Maximum callstack exceeded" error
This codesandbox includes a 2 state example. I've also experienced the same behavior with 3 states so assume it's related any cycle from always transitions.
Additionally, the inspector doesn't render anything when this cycle is present. But after commenting an always transition in the cycle, it renders correctly.
(When using the visualizer, independently of the vscode extension, everything renders without a problem)
Heads up, I think you may be looking for this repository: https://github.com/mattpocock/xstate-vscode