为什么将您注释的代码取消注释后,就报_react2.default.createClass is not a function错
const {Router,Route,IndexRoute,hashHistory } =ReactRouter;
const App = () =>
<div style = { innerStyles.container } class="clearfix">
window.onload = function() {
window.s = ReactDOM.render(
,
document.getElementById('example')
)
}