Well, I used to do some job in ReactJS with ES3 syntax. Now I'm trying my best with ES6 one but I can't simply use ReactCSSTransitionGroup, due to absolutely mad error that says
Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component's 'render' method). Try rendering this component inside of a new top-level component which will hold the ref.
What is that?
import React from 'react';
import ReactCSSTransitionGroup from 'react-addons-css-transition-group';
render(){
return <ReactCSSTransitionGroup transitionName={transitions}>
<Content/>
</ReactTransition>
}