dillon1000/react

Commit

Initialize React prop name/attribute name mapping without Map (#12353)

Using `new Map(iterable)` isn't supported in IE11, so it ends up trying to iterate through an empty map and these attributes don't get defined in properties. Since this is only run once on startup inlining the attributeName array is probably fine.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-dom/src/shared/DOMProperty.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…