It is common to add and remove elements from the DOM, such as items in a list, status messages (both inline and global shouts), tooltips, dialogs or modal windows, and even entire pages in a refreshless, single-page app. Instead of popping new content into the viewport immediately, it can sometimes be helpful to include animations to help the user keep track of what is changing especially when the changes are subtle. For our purposes today, I’ve exaggerated the transitions for that very reason.
Transition by toggling class
Transition using hidden attribute
React CSSTransitionGroup
Duration and child transitions
Updated missing url //cdnjs.cloudflare.com/ajax/libs/react/0.11.2/JSXTransformer.js to //cdnjs.cloudflare.com/ajax/libs/react/0.11.2/jsxtransformer.js
https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.js
https://cdnjs.cloudflare.com/ajax/libs/sass.js/0.4.0/sass.js
https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.js
https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.2/backbone.js
https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.8.3/moment.js
https://cdnjs.cloudflare.com/ajax/libs/react/0.11.2/react-with-addons.js
https://cdnjs.cloudflare.com/ajax/libs/react/0.11.2/JSXTransformer.js