dillon1000/react
Commit
Browse files 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
Changed paths3 files
First-parent comparisonsrc/renderers/dom/shared/DOMProperty.js ModifiedM src/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js ModifiedM src/renderers/dom/shared/hooks/ReactDOMUnknownPropertyHook.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…