-
Notifications
You must be signed in to change notification settings - Fork 624
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
"version": "1.2.2": 存在2个 Warning #54
Comments
1.2.2 版本就是修改了以上 deprecated 问题的,是否本地没有重新安装依赖。 live demo 也是没有 warning 的。 |
I'm still getting the PropTypes warning, even with the latest version. It looks like all that needs to be done is to replace "React.PropTypes" with "PropTypes". |
Sorry, my omission. I have push a new commit, after test, v1.2.3 will solve the warning. |
Done, v1.2.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
Warning: A Component: 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.
建议更新依赖包
The text was updated successfully, but these errors were encountered: