Skip to content

Decorator not compatible with Preact #235

@RobbieTheWagner

Description

@RobbieTheWagner

If I use @css when render is called, it is not passed props anymore and you have to access them via this.props.

Also, react is called explicitly here https://github.com/streamich/nano-css/blob/master/addon/util/transformComponentStatic.js#L18

For compatibility this should be configurable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions