Skip to content

React-compatible :style attribute #38

Open
@ai212983

Description

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

Metadata

Assignees

No one assigned

    Labels

    category: parsingCorrectness and Edge Cases. Hail the DOMtype: bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions