Skip to content

Instantly share code, notes, and snippets.

@TheSisb
Created October 19, 2018 00:48
Show Gist options
  • Save TheSisb/7856480df59a8725c5a9d825661e3174 to your computer and use it in GitHub Desktop.
Save TheSisb/7856480df59a8725c5a9d825661e3174 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
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