dillon1000/react

Commit

Simplify CSS shorthand property warning (#14183)

I figured out a simpler way to do #14181. It does allocate some but I think that's OK. Time complexity might even be better since we avoid the nested loops the old one had.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/shared/CSSPropertyOperations.js ModifiedM packages/react-dom/src/shared/CSSShorthandProperty.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…