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

component throws deprecation warning in react 15.5 #134

Closed
ZebraFlesh opened this issue Apr 11, 2017 · 2 comments
Closed

component throws deprecation warning in react 15.5 #134

ZebraFlesh opened this issue Apr 11, 2017 · 2 comments

Comments

@ZebraFlesh
Copy link

Omniscient components created under react 15.5 display the following deprecation warning:

Warning: MyComponent: 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.

Using createReactClass instead of React.createClass should resolve this issue.

@dpoindexter
Copy link
Contributor

dpoindexter commented Sep 26, 2017

@mikaelbr, it looks like v4.2.0 is still marked as WIP in the changelog. Are there plans to add other fixes, or can v4.2.0 be released to support React v16.x?

(Edited to add:) Happy to help with anything that still needs to be done.

@mikaelbr
Copy link
Member

I had some big plans in internal rewrites, but haven't gotten around to it. Will happily and joyfully accept PR with 16.x support! 🎉

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

No branches or pull requests

3 participants