We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 641cd16 commit 6c48097Copy full SHA for 6c48097
modules/components/RouteHandler.js
@@ -43,7 +43,9 @@ class RouteHandler extends React.Component {
43
}
44
45
render() {
46
- return <ContextWrapper>{ this.createChildRouteHandler() }</ContextWrapper>
+ var handler = this.createChildRouteHandler();
47
+ // <script/> for things like <CSSTransitionGroup/> that don't like null
48
+ return handler ? <ContextWrapper>{handler}</ContextWrapper> : <script/>;
49
50
51
0 commit comments