Severity: AnalysisErrorSeverity.WARNING
Maturity: stable
Since 1.0.0
PREFER to use a value for props.key
that is guaranteed to be unique.
While hashCode
may seem like it is "unique enough", hashCode
values by design can collide with each other,
and may collide often based on how they are implemented.
Try using other information, such as a unique ID field on the object or an index, to construct the key instead.