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

deprecation error due to React.createClass #93

Closed
freaksauce opened this issue Apr 10, 2017 · 6 comments · Fixed by #94
Closed

deprecation error due to React.createClass #93

freaksauce opened this issue Apr 10, 2017 · 6 comments · Fixed by #94

Comments

@freaksauce
Copy link

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.

@raygerami
Copy link

Is this fixed? It still shows in version 3.3.4.

@MichaelDeBoey
Copy link

@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...

@raygerami
Copy link

@MichaelDeBoey thanks

@freaksauce
Copy link
Author

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

@MichaelDeBoey
Copy link

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

@armsteadj1
Copy link

@insin insin closed this as completed in #94 Jul 4, 2017
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

Successfully merging a pull request may close this issue.

4 participants