The ReactTransitionGroup add-on component is a low-level API for animation, and ReactCSSTransitionGroup is an add-on component for easily implementing basic CSS animations and transitions.
Installation
The recommended installation method is through either npm or yarn.
# npm
npm install [email protected] –save
# yarn
yarn add [email protected]
CDN / External – Since react-transition-group is fairly small, the overhead of including the library in your application is negligible. However, in situations where it may be useful to benefit from an external CDN when bundling, link to the following CDN:
https://unpkg.com/react-transition-group/dist/react-transition-group.min.js