vscode-xstate icon indicating copy to clipboard operation
vscode-xstate copied to clipboard

Cyclical `always` transitions result in "Maximum callstack exceeded" error

Open Silverwolf90 opened this issue 4 years ago • 1 comments

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)

Silverwolf90 avatar Oct 20 '21 15:10 Silverwolf90

Heads up, I think you may be looking for this repository: https://github.com/mattpocock/xstate-vscode

floer32 avatar Jan 01 '22 19:01 floer32