Rest Pattern Name
Always name a rest-pattern binding rest. Never use another name, such as props. Whenever a rest pattern is used, its bound identifier must be rest.
Correct
const {
title,
...rest
} = item
const Component = ({
title,
...rest
}) => <Field {...rest} />
Incorrect
const {
title,
...remaining
} = item
const Component = ({
title,
...props
}) => <Field {...props} />
Fix
Rename every rest-pattern binding to rest and update references to the previous binding name.