Skip to content

Instantly share code, notes, and snippets.

@farskid
Last active June 26, 2021 09:05
Show Gist options
  • Save farskid/7fc2da4ee9f3913d1eb13b13d5cb5087 to your computer and use it in GitHub Desktop.
Save farskid/7fc2da4ee9f3913d1eb13b13d5cb5087 to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
Machine({
id: 'test',
initial: 'a',
states: {a: {
entry: ['t']
}}
}, {
actions: {
t: () => console.log('hello')
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment