79184166

Date: 2024-11-13 09:21:51
Score: 0.5
Natty:
Report link

Yes, that warning appears due to changes in React 18.

You now have to pass key as a separate argument.

Example

const { key, ...rest } = props;

<SomeComponent key={key} {...rest} />
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: sori