dillon1000/react

Commit

Allow custom attribute named `on` to be passed on to elements (#11153)

* Allow single `on` property for custom elements

* Remove test from ReactDOMComponent-test

* Allow custom attribute named 'on' to be passed

* Check property length instead of comparing strings
Browse files
Changed paths3 files
First-parent comparison
M src/renderers/dom/shared/DOMProperty.js ModifiedM src/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js ModifiedM src/renderers/dom/shared/hooks/ReactDOMUnknownPropertyHook.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…