dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonsrc/renderers/dom/shared/hooks/ReactDOMUnknownPropertyHook.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…