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

Uncaught TypeError: React.__spread is not a function #15

Open
oakley808 opened this issue Apr 12, 2016 · 1 comment
Open

Uncaught TypeError: React.__spread is not a function #15

oakley808 opened this issue Apr 12, 2016 · 1 comment

Comments

@oakley808
Copy link

I'm seeing this error in ./dist/Select.js:57
Uncaught TypeError: React.__spread is not a function

  render: function () {
    return (
      React.createElement(Input, React.__spread({},  this.props, {type: "select"}))
    );
  }

I'm using React v15. Any ideas?

@oakley808
Copy link
Author

Ah here's the relevant background thread. It looks like a deprecated JSX compiler issue.

Add back React.__spread and make it warn #6444

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

1 participant