Skip to content

Instantly share code, notes, and snippets.

Avatar

Julien Mayer jmayergit

View GitHub Profile
View example.js
<SwitchTransition>
<CSSTransition
key={stateVariable}
classNames="fade"
timeout={...}
unmountOnExit
>
{stateVariable
? <div>....</div>
: <div>....</div>
You can’t perform that action at this time.