-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Validation for React.PropTypes.oneOf should compare values using Object.is #6131
Comments
should |
|
This seems reasonable. We've inlined |
@zpao can you point me to such places? Maybe it's time to just use polyfill instead of inlining? :) |
There was some discussion had elsewhere and at least at the time we were trying to avoid another polyfill. |
...to check for
NaN
value proper.also related to #6130
The text was updated successfully, but these errors were encountered: