Skip to content

Possible shortcut for decorator syntax #3

@quantizor

Description

@quantizor

I'm not sure if this will work, but it would make cutting out the functionality easier for those using ifdef-like parsers...

/* ifdef DEVELOPMENT */ @require('react-strict-prop-types')() /* endif */
class MyComponent extends React.Component {}

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