react-selectize icon indicating copy to clipboard operation
react-selectize copied to clipboard

React.createClass deprecated

Open DanielHoffmann opened this issue 7 years ago • 2 comments

As of React 15.5 React.createClass is deprecated and is due to be removed in React 16.0

Unfortunately it seems react-selectize is not using babel so porting the code to use ES6 classes is not possible without messing with the build process. Maybe it is time to consider porting the build process to webpack? Get rid of the gulpfile and use npm scripts that call webpack instead?

DanielHoffmann avatar Apr 12 '17 11:04 DanielHoffmann

Another alternative is to use https://www.npmjs.com/package/create-react-class

DanielHoffmann avatar Apr 12 '17 12:04 DanielHoffmann

When can we expect to see the PR by @elisherer being merged?

robguy21 avatar Apr 25 '17 11:04 robguy21