tjwebb/react-bootstrap-select

Uncaught TypeError: React.__spread is not a function

Opened this issue · 1 comments

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?

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

Add back React.__spread and make it warn #6444