Hacker News new | ask | show | jobs
by t_tsonev 1576 days ago
If this is true, why do you need unique item keys? React cares about loops a lot more than it may seem at a first look.
1 comments

keys are not specific to loops. They are needed whenever you are returning a react document with a dynamic structure. They allow for more fine grain dom updates.