Skip to content

Invalid ES6 syntax #2

@hokster7

Description

@hokster7

In scrollable.js:

    static displayName = `Scrollable(${getDisplayName(DecoratedComponent)})`;
    static DecoratedComponent = DecoratedComponent;

But according to this issue static assignment is not valid.

I've tried using react-native-scrollable-decorator, and RN does indeed barf at the Unexpected token '='.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions