Skip to content

Instantly share code, notes, and snippets.

@vincentriemer
Last active September 2, 2018 19:57
Show Gist options
  • Save vincentriemer/af736ab2bde9dfa961c6092a1bae982c to your computer and use it in GitHub Desktop.
Save vincentriemer/af736ab2bde9dfa961c6092a1bae982c to your computer and use it in GitHub Desktop.
React Wormhole Registry Entry*
React Wormhole Registry Entry*
Unmounted*
Empty*
container registered -> Has Container
Has Container
target registered -> Mounted
Mounted
Mounted without Container
Mounted with Container
Transported
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment