You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running a local version of xstate-viz like in the public folder works, but it would be even better if we could provide a <Preview machine={myMachine} /> component that allows passing in a machine instance regardless if developed in typescript or javascript.
In addition when using <Preview /> the <StateChart previewOnly={true}> component would remove some functionality that is not required when running locally.
Running a local version of xstate-viz like in the public folder works, but it would be even better if we could provide a
<Preview machine={myMachine} />
component that allows passing in a machine instance regardless if developed in typescript or javascript.In addition when using
<Preview />
the<StateChart previewOnly={true}>
component would remove some functionality that is not required when running locally.See this branch for a POC
https://github.com/RainerAtSpirit/xstate-viz/pull/new/previewOnly
The text was updated successfully, but these errors were encountered: