Skip to content

member detection can fail #70

@ghost

Description

Doing this produce 2 members instead of 2 methods.
This way to bind methods in ES6 is recommanded in React for instance
https://facebook.github.io/react/blog/2015/01/27/react-v0.13.0-beta-1.html#autobinding

constructor(props) {
         super(props);

         this.onConnect = this.onConnect.bind(this);
         this.onKeyDown = this.onKeyDown.bind(this);
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions