dillon1000/react

Commit

Dedupe unknown tag name warning and ignore <time> (#10275)

* Deduplicate unknown DOM tag warning

* Don't warn about <time> because it is widely used

Other browsers implement it, and Chrome will ship it soon too.

* Use hasOwnProperty

* Fix corner case: hasOwnProperty as a tag

* Update comments to be more correct factually
Browse files
Changed paths3 files
First-parent comparison
M src/renderers/dom/fiber/ReactDOMFiberComponent.js ModifiedM src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js ModifiedM src/renderers/dom/stack/client/ReactDOMComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…