-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
ReactLink still using React.PropTypes. #9755
Milestone
Comments
flarnie
added a commit
to flarnie/react
that referenced
this issue
May 23, 2017
**what is the change?:** It looks like we missed updating this callsite in facebook@12a96b9 **why make this change?:** We are deprecating the `React.PropTypes` syntax and splitting that functionality into [a separate module](facebook@12a96b9). @acdlite please correct me if there is a reason we left this here. **test plan:** `yarn test` **issue:** facebook#9755
flarnie
added a commit
that referenced
this issue
May 24, 2017
**what is the change?:** It looks like we missed updating this callsite in 12a96b9 **why make this change?:** We are deprecating the `React.PropTypes` syntax and splitting that functionality into [a separate module](12a96b9). @acdlite please correct me if there is a reason we left this here. **test plan:** `yarn test` **issue:** #9755
Thanks for reporting this @lrojas94! We might want to do a release of that add-on via npm. I can look into that. |
flarnie
added a commit
to flarnie/react
that referenced
this issue
Jun 7, 2017
**what is the change?:** It looks like we missed updating this callsite in facebook@12a96b9 **why make this change?:** We are deprecating the `React.PropTypes` syntax and splitting that functionality into [a separate module](facebook@12a96b9). @acdlite please correct me if there is a reason we left this here. **test plan:** `yarn test` **issue:** facebook#9755
We fixed this in #9766. Will be out in next release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you want to request a feature or report a bug?
BUG
What is the current behavior?
React is using React.PropTypes even though it states it's going to be deprecated.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).
https://github.com/facebook/react/blob/15-stable/src/addons/link/ReactLink.js#L62
What is the expected behavior?
Should use PropTypes from the
prop-types
package.Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
15.5.4
The text was updated successfully, but these errors were encountered: