dillon1000/react

Commit

Log unknown props only when we have a match

Logging every unknown property got very noisy when combined with use of `transferPropsTo`. I knew this would be a potential issue initially but decided it was worth it. Others disagreed and it's resulting in some confusion.

This changes the logging to ensure that we have a potential correction, so only DOMish properties should result in warnings.
Browse files
Changed paths2 files
First-parent comparison
M src/dom/DOMPropertyOperations.js ModifiedM src/dom/__tests__/DOMPropertyOperations-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…