dillon1000/react
Commit
Browse files Prevent NaN props from triggering warnings
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.
Changed paths1 file
First-parent comparisonsrc/classic/element/ReactElementValidator.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…