Closed ladas-larry closed 9 years ago
An option could be React.addons.CSSTransitionGroup
. In your root component (where you are rendering the route handler), make sure you give an unique key to the handler:
render() {
return (
<ReactCSSTransitionGroup transitionName="myTransition">
<Handler key={this.props.currentRoute.get("url")} />
</ReactCSSTransitionGroup>
);
}
There should be some convenient way how to create animations before and after route transition.