Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not support ES2015 class in IE9/10 #6

Open
afc163 opened this issue Feb 23, 2016 · 2 comments
Open

Do not support ES2015 class in IE9/10 #6

afc163 opened this issue Feb 23, 2016 · 2 comments

Comments

@afc163
Copy link

afc163 commented Feb 23, 2016

import React from 'react';

class App extends React.Component {
  render() {
    return (
      <div>123</div>
    );
  }
}

export default App;

报错行:_classCallCheck

@sorrycc
Copy link
Member

sorrycc commented Feb 23, 2016

#5

@afc163
Copy link
Author

afc163 commented Feb 23, 2016

这个例子,用 React.createClass 反而是好的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants