insin / react-maskedinput

Masked <input/> React component

Home Page:http://insin.github.io/react-maskedinput/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deprecation error due to React.createClass

freaksauce opened this issue · comments

React.createClass is being deprecated in React 16.0 and currently shows deprecation warnings in 15.5

Warning: MaskedInput: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

Code needs to be refactored to use class MaskedInput extends Component syntax.

Is this fixed? It still shows in version 3.3.4.

@raygerami v3.3.4 (the latest release of this package) is released December 16th 2016.
The warnings were introduced since April 7th 2017 together with React v15.5, so it's normal that it's still not in this package
Also #94 isn't merged yet so...

I've tried contacting the dev a couple of times and no response unfortunately

@insin I think we're all waiting for this one. 😕
Please merge #94! 🙂