You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you're in strict-mode you get warnings when you have duplicate properties in an object, a similiar warning for props on React components would be nice.
return(<MycomponentclassName={classes}onClick={this.handleClick}someOtherProp={stuff}onClick={this.onClick}/>// Duplicate prop, should produce an ESLint error);
The text was updated successfully, but these errors were encountered:
Markus-ipse
changed the title
Warn on duplicate props
Rule proposal: Warn on duplicate props
Jul 10, 2015
When you're in strict-mode you get warnings when you have duplicate properties in an object, a similiar warning for props on React components would be nice.
The text was updated successfully, but these errors were encountered: