File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -214,10 +214,8 @@ var Route = React.createClass({
214
214
} ,
215
215
216
216
render : function ( ) {
217
- // TODO: In React 0.11 we will be able to `return null` here.
218
- // https://github.com/facebook/react/issues/1058
219
217
if ( ! this . state . path )
220
- return React . DOM . div ( ) ;
218
+ return null ;
221
219
222
220
return this . props . handler ( computeHandlerProps ( this . state . matches || [ ] , this . state . activeQuery ) ) ;
223
221
}
Original file line number Diff line number Diff line change 37
37
"karma-mocha" : " ^0.1.3" ,
38
38
"karma-webpack" : " ^1.2.1" ,
39
39
"mocha" : " ^1.20.1" ,
40
- "react" : " >=0.10 .0" ,
40
+ "react" : " >=0.11 .0" ,
41
41
"rf-release" : " ^0.1.2" ,
42
42
"uglify-js" : " ^2.4.15" ,
43
43
"webpack" : " ^1.2.0-beta5" ,
44
44
"webpack-dev-server" : " ^1.4.2"
45
45
},
46
46
"peerDependencies" : {
47
- "react" : " >=0.10 .0"
47
+ "react" : " >=0.11 .0"
48
48
},
49
49
"dependencies" : {
50
50
"es6-promise" : " ^1.0.0" ,
You can’t perform that action at this time.
0 commit comments