dillon1000/react
Commit
Browse files Don't hyphenate custom CSS properties for ReactDOMServer (#16167)
* Do not hyphenate custom CSS property * Move check into the processStyleName fn * Formatting * add test * Put isCustomProperty check after conditional return * add test to `ReactDOMServerIntegration` and supress warning * Don't indexOf twice * Simpler fix
Changed paths4 files
First-parent comparisonpackages/react-dom/src/__tests__/CSSPropertyOperations-test.js ModifiedM packages/react-dom/src/__tests__/ReactDOMServerIntegrationAttributes-test.js ModifiedM packages/react-dom/src/server/ReactPartialRenderer.js ModifiedM packages/react-dom/src/shared/CSSPropertyOperations.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…