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 deprecation warning due to React upgrading to v15.5.0 #5678
Comments
Happen earlier than we expect: #5377 |
+1 |
|
What's the problem? |
|
I think it is OK, there is no reason to stay in |
Should we add |
rc-slider 7.0.1 |
I find this information, for react 15.5. |
Until now, I find there are also lots of warnings , for example in rc-form and rc-select.Except for using |
Please see facebook/prop-types#38. This was a false positive caused by production version of It is fixed in You might need to rebuild the UMD bundle of the component that depends on |
I believe all warnings are fixed in master now, and will be released in |
@afc163 you mean 2.10.2 📦 |
天天等着这个 就怕这周改不完 发不了版 那得等到下周五了 |
2.10.2 is released! |
For some reason edit: either a |
update to 2.10.2,but there's still two warnings:
In my project,I only use antd and react-router v4 which are related to react,what's the problem? |
I also updated to 2.10.2 and I keep getting this error: Warning: Form: 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. |
Try |
i updated to 2.10.2 and getting this error: |
@afc163 Thanks, that fixed it. |
I have tried |
@zhulinpinyu could you try to find out the component which had printed this warning? Thanks. |
引用的组件太多,可能是别的组件报的错误。 |
can someone tell me why I got those two warnings in my previous comment? |
The problem of other plug-ins, with screening and see which plug-in version is low |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Version
2.9.1
Environment
Chrome 56
Reproduction link
http://codepen.io/benjycui/pen/KgPZrE
Steps to reproduce
N.A.
What is expected?
No such warning messages
What is actually happening?
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
Warning: AnimateChild: 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.
https://github.com/facebook/react/releases/tag/v15.5.0
The text was updated successfully, but these errors were encountered: