It may break your application and display wrong data!
Index as a key is an anti-pattern
Robin Pokorny
65017

I tried to reproduce and the interesting point is that: rendering props value is always correct. rendering state value is affected by using index as key.

This aligns with the example where input using state to render the value while IDs are rendered using props

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.