jsx-props-no-spread-multi
Recommended
Spreading the same expression twice is typically a mistake and causes
Spreading the same expression twice is typically a mistake and causes
unnecessary computations.
Invalid:
<div {...foo} {...foo} />
<div {...foo} a {...foo} />
<Foo {...foo.bar} {...foo.bar} />
Valid:
<div {...foo} />
<div {...foo.bar} a />
<Foo {...foo.bar} />