Skip to content

Error: isMounted() not working with Components made with ES6 classes in React v14 #3

@mhodgson

Description

@mhodgson

This line uses a method that doesn't work when components are constructed as ES6 classes. I believe the problem I am having is just a scope issue. The references to this should really be references to self.

https://github.com/react-component/trigger/blob/master/src/Trigger.jsx#L83

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions