Closed
Description
Sometimes it is useful to define a component call as
<Component {...{ key: id, id, shortTitle }} />
instead of
<Component key={id} id={id} shortTitle={shortTitle} />
but in the first case ESLint gets mad about the missing key
prop, triggering the react/jsx-key
rule.
This is the reason why I'm turning this rule off for now. I believe this should be fixed.
Metadata
Metadata
Assignees
Labels
No labels