jsx-no-duplicate-props
Recommended
Disallow duplicated JSX props. Later props will always overwrite earlier props
Disallow duplicated JSX props. Later props will always overwrite earlier props
often leading to unexpected results.
Invalid:
<div id="1" id="2" />;
<App a a />;
<App a {...b} a />;
Valid:
<div id="1" />
<App a />
<App a {...b} />
<App {...b} b />