Closed
Description
Do you want to request a feature or report a bug?
Bug
Current Behaviour
ReactDOMServer.renderToString
is mutating CSS Variable names that are inlined and in the--camelCase
format into--kebab-case
Expected Behaviour
ReactDOMServer.renderToString
does not mutate the CSS Variable name, and keeps it in--camelCase
format
Demo
Versions:
- Issue appears in
[email protected]
&[email protected]
- Issue appears in
[email protected]
&[email protected]
- (That's all I've tested so far)
Other notes:
- It's worth noting that
ReactDOM.render
is preserving the CSS Variable name and not mutating it. It only seems to only be an issue withReactDOMServer.renderToString