Skip to content

Instantly share code, notes, and snippets.

@TheSisb
Last active October 18, 2018 21:37
Show Gist options
  • Save TheSisb/9d00c4622d9072af6c6c923563a66eae to your computer and use it in GitHub Desktop.
Save TheSisb/9d00c4622d9072af6c6c923563a66eae to your computer and use it in GitHub Desktop.
Server create
Server create
Selection
CREATE_SERVER -> Create
JOIN_SERVER -> Join
Join
BACK -> Selection
Create
BACK -> Selection
New State Machine
SHOW_TOOLTIP -> a
a
function render(model) {
console.log(model);
let current_state_name = model.active_states[0].name;
return <div style={{color: "darkBlue"}}>The current state is: {current_state_name}</div>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment