dillon1000/react
Commit
Browse files Warn when "false" or "true" is the value of a boolean DOM prop (#13372)
* Warn when the string "false" is the value of a boolean DOM prop * Only warn on exact case match for "false" in DOM boolean props * Warn on string "true" as well as "false" in DOM boolean props * Clarify warnings on "true" / "false" values in DOM boolean props
Changed paths3 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactDOMComponent-test.js ModifiedM packages/react-dom/src/__tests__/ReactDOMInput-test.js ModifiedM packages/react-dom/src/shared/ReactDOMUnknownPropertyHook.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…