Last active
December 15, 2018 18:25
-
-
Save hnordt/e92bc52f4ef6a91053ee7765f9123d6e to your computer and use it in GitHub Desktop.
My Awesome Sketch
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
My Awesome Sketch | |
First State | |
some event -> Second State | |
Second State |
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
function render(model){ | |
console.log(model) | |
const current_state_name = model.active_states[0].name; | |
return <h1>The current state is: {current_state_name}</h1> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment