Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React-compatible :style attribute #38

Open
ai212983 opened this issue Jun 27, 2016 · 1 comment
Open

React-compatible :style attribute #38

ai212983 opened this issue Jun 27, 2016 · 1 comment
Labels
category: parsing Correctness and Edge Cases. Hail the DOM type: bug Something isn't working as intended

Comments

@ai212983
Copy link

React wants a map instead of string.
Invariant Violation: Thestyleprop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.

It would be nice to have support for this

@MMaicki
Copy link

MMaicki commented Jul 13, 2020

Bump!

@port19x port19x added type: bug Something isn't working as intended priority 2: medium category: parsing Correctness and Edge Cases. Hail the DOM and removed priority 2: medium labels Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: parsing Correctness and Edge Cases. Hail the DOM type: bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

3 participants