Last active
August 16, 2021 09:44
-
-
Save geoffreydhuyvetters/d16f4cfbe3cbd7188b67aa71f893a2d8 to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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