ReactCSSTransitionGroup
is an addon component for React.js which allows you to perform CSS transitions and animations when a React component enters or leaves the DOM.
When a new item is added to ReactCSSTransitionGroup
it will get the .transitionName-enter
CSS class and the .transitionName-enter-active
CSS class. Conversely, when an item is removed, it will receive the .transitionName-leave
and .transitionName-active
CSS classes.
This allows you to apply whatever CSS transitions you want to elements as they enter and leave the DOM.