The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

React Animation with CSSTransitionGroup

React Animation with CSSTransitionGroup

3:07
React.addons provides CSSTransitionGroup for easily implementing basic CSS animations and transitions.
Watch this lesson now
Avatar
egghead.io

React.addons provides CSSTransitionGroup for easily implementing basic CSS animations and transitions.

Avatar
Simon

how can be go about makign this work via ES6 method, i think the main issue so far is the

var ReactCSSTransitionGroup = React.addons.CSSTransitionGroup;

I think the issue i am having is how to import use this via ES6?

In reply to egghead.io
Avatar
Michael

Just in case you haven't figured it out, this is how i've done it:

addons from 'react/addons';
var {addons: {CSSTransitionGroup}} = addons;```
In reply to Simon
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?