Skip to content

Instantly share code, notes, and snippets.

@kellyjandrews
Last active June 29, 2020 18:03
Show Gist options
  • Save kellyjandrews/da00b68575ceb12f88b1ad7ad0219020 to your computer and use it in GitHub Desktop.
Save kellyjandrews/da00b68575ceb12f88b1ad7ad0219020 to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
const video = Machine({
id: 'video',
initial: 'disconnected',
states: {
disconnected: {
id: 'disconnected',
initial: 'idle',
states: {
'idle': {},
'init': {},
'ready': {}
}
},
connected: {}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment