DEV Community

loading...

Discussion on: 3 Common Mistakes With React Keys

Collapse
iamntz profile image
Ionut Staicu

Ha! One of my first WTF moments in React world was when I used for iterator as key (so basicaly I had a bunch of 0 to list.length and then watched how my whole app updated UI only some times...