Skip to content

_react2.default.createClass is not a function 报错 #8

Description

@hjx5309

为什么将您注释的代码取消注释后,就报_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')
)
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions