-
-
Notifications
You must be signed in to change notification settings - Fork 444
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
Getting warning for prop types while running test cases with jest #218
Comments
react-tabs is not using |
I got the same warning when upgrading from 2.0.0 to 2.1.0. I don't use React 16 yet. Using react version 15.6.1. |
For what its worth I appear to be getting the same warning. I am on React 15.6.2. Is there something more useful we could provide to help understand where the warning is coming from? |
This is a bug in babeljs. I will fix it there. babel/babel#6850 |
I think this can be closed given the original babel bug has been closed? |
Fixed in 2.2.2 |
I am getting following warning while running test cases. Prop types in our own code are accessed via npm package and the warnings go away if I remove react-tabs.
Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class
The text was updated successfully, but these errors were encountered: