mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
198aabaafb
Previously, `checkAndWarnForMutatedProps` would flag `NaN` props as having been mutated, because `NaN !== NaN`. This prevents that warning from being emitted by explicitly checking for `NaN`s.