ESlint no-undef rule for React component class methods

Viewed 204

Is it possible detect undefined method in this case?

export default class Test extends Component {
  render() {
    return (
      <Example
        onClick={this.undefinedMethod}
      />
    );
  }
}
0 Answers
Related