Skip to content

Instantly share code, notes, and snippets.

@hnordt
Last active December 15, 2018 18:25
Show Gist options
  • Save hnordt/e92bc52f4ef6a91053ee7765f9123d6e to your computer and use it in GitHub Desktop.
Save hnordt/e92bc52f4ef6a91053ee7765f9123d6e to your computer and use it in GitHub Desktop.
My Awesome Sketch
My Awesome Sketch
First State
some event -> Second State
Second State
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