Skip to content

Instantly share code, notes, and snippets.

@jaytrovare
Last active October 28, 2018 09:45
Show Gist options
  • Save jaytrovare/591e473f7da98160e77c5e5d53dd8a10 to your computer and use it in GitHub Desktop.
Save jaytrovare/591e473f7da98160e77c5e5d53dd8a10 to your computer and use it in GitHub Desktop.
FlipContainer
FlipContainer
TransitionGroup
in -> Enter
Transition
enter -> EnterTransition
EnterTransition
Enter
onEnter -> Entering
Entering
onEntering -> Entered
Entered
onEntered -> Active
Active
exit -> ExitTransition
ExitTransition
Exit
onExit -> Exiting
Exiting
onExiting -> Exited
Exited
onExited -> TransitionGroup
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