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 00d60a1 commit a0ce26bCopy full SHA for a0ce26b
modules/components/RouteHandler.js
@@ -42,7 +42,10 @@ class RouteHandler extends React.Component {
42
}
43
44
render() {
45
- return this.createChildRouteHandler();
+ // IMPORTANT: This span "soaks" up owner context, keeping
46
+ // React 0.13.0 from throwing a warning.
47
+ // TODO: Why should this even be necessary?
48
+ return <span>{ this.createChildRouteHandler() }</span>
49
50
51
0 commit comments