-
Notifications
You must be signed in to change notification settings - Fork 134
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
React v15.5.4 propTypes問題 #19
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
貼心提醒
根據官方ReleaseNote,在2017/04/07釋出的v15.5.0版本中
已經移除React.createClass及React.PropTypes
https://github.com/facebook/react/releases/tag/v15.5.0
如果有Console有以下警告訊息
Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
請額外引入檔案
https://github.com/reactjs/prop-types
The text was updated successfully, but these errors were encountered: