Skip to content

Instantly share code, notes, and snippets.

@llldc21
Last active January 17, 2020 19:27
Show Gist options
  • Save llldc21/eed85eba1329a5e9170a8e6ec6d72f0f to your computer and use it in GitHub Desktop.
Save llldc21/eed85eba1329a5e9170a8e6ec6d72f0f to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
const test = Machine({
id: 'teste',
initial: 'DRAFT',
states: {
DRAFT: {
on:{
READY: 'ready'
},
ready: {
type: 'final'
}
}
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment