fmoo / react-typeahead

Pure react-based typeahead and typeahead-tokenizer
ISC License
677 stars 232 forks source link

please support React 15.0.0 #178

Closed bob76828 closed 8 years ago

bob76828 commented 8 years ago

I got the error that "Uncaught TypeError: React.__spread is not a function" on 15.0.0. It seems like the private method is removed.

https://github.com/facebook/react/commit/a142fd257803a218b5b9b2e76c327f0421b9b8b6

bob76828 commented 8 years ago

I found what the problem is gulp-react uses the private method and it is deprecated. Maybe you should use gulp-babel to precompile jsx.

tanepiper commented 8 years ago

Hitting this issue to with upgrading from React-15.0.0-rc2 to React15 as well

fmoo commented 8 years ago

Is this a matter of bumping the devDependencies and republishing?

fmoo commented 8 years ago

Fixed in 1.1.9 .

I replaced gulp-react with gulp-babel and reactify with babelify.

export-mike commented 8 years ago

regarding warnings: https://github.com/fmoo/react-typeahead/pull/183