Skip to content

Instantly share code, notes, and snippets.

@geoffreydhuyvetters
Last active August 16, 2021 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geoffreydhuyvetters/d16f4cfbe3cbd7188b67aa71f893a2d8 to your computer and use it in GitHub Desktop.
Save geoffreydhuyvetters/d16f4cfbe3cbd7188b67aa71f893a2d8 to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
const fetchMachine = Machine({
id: 'fetch',
initial: 'idle',
context: {
},
states: {
idle: {
on: {
CHANGE_THEME: 'required_information_filled_in',
CHANGE_TIME_TABLE: 'required_information_filled_in',
CHANGE_TITLE: 'required_information_filled_in',
CHANGE_LOCATION: 'required_information_filled_in'
}
},
required_information_filled_in: {
},
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment