dillon1000/react

Commit

Find callsites that would call toString() if we pass attributes through (#10416)

* Find callsites that would call toString() if we pass attributes through

* Warn for all object unknown props, not just 'toString' ones

fixing this as per Sebastian's feedback, because we want to find all
objects and not just ones with 'toString' defined. Because there may be
other corner cases and issues that are revealed.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/shared/hooks/ReactDOMUnknownPropertyHook.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…