This product is not supported for your selected Datadog site. ().
Cette page n'est pas encore disponible en français, sa traduction est en cours. Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
Metadata
ID:tsx-react/tsx-key
Language: TypeScript
Severity: Error
Category: Error Prone
Description
In JSX you need to specify a key prop for each item of a list. A missing key prop can lead to unexpected renders or stale UI. This rule checks for possible JSX lists and warns if the key prop is missing.