Skip to content

Support for CSS Custom Properties in the :style property#215

Open
stanislas wants to merge 1 commit into
r0man:masterfrom
codesmith-gmbh:css-custom-properties
Open

Support for CSS Custom Properties in the :style property#215
stanislas wants to merge 1 commit into
r0man:masterfrom
codesmith-gmbh:css-custom-properties

Conversation

@stanislas

Copy link
Copy Markdown

React supports CSS Custom Properties in the style attribute
react/react#6411

CSS custom properties are represented by names starting with '--'
https://developer.mozilla.org/en-US/docs/Web/CSS/--*

The code in the PR modifies the camel case transformation so that CSS custom property names are not transformed.

@stanislas

Copy link
Copy Markdown
Author

(the benchmark job fails because it cannot upload benchmark results)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant