dillon1000/react

Commit

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
Browse files
Changed paths4 files
First-parent comparison
M packages/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 Modified
Patch

Files changed

Rendering syntax-highlighted changes…