https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-handler-names.md
Ensures that any component or prop methods used to handle events are correctly prefixed.
Rule Details
The following patterns are considered warnings:
<MyComponent handleChange={this.handleChange} />
<MyComponent onChange={this.componentChanged} />
The following patterns are not considered warnings:
<MyComponent onChange={this.handleChange} />
<MyComponent onChange={this.props.onFoo} />
Here's an example of the diff that I applied to bitmidi.com in order to comply with this rule: feross/bitmidi.com@67ed076
https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-handler-names.md
Ensures that any component or prop methods used to handle events are correctly prefixed.
Rule Details
The following patterns are considered warnings:
The following patterns are not considered warnings:
Here's an example of the diff that I applied to
bitmidi.comin order to comply with this rule: feross/bitmidi.com@67ed076