DEV Community

loading...

Discussion on: What is Virtual DOM? How Virtual DOM works ? What is Reconciliation ? What is diffing algorithm? What makes React so fast ?

Collapse
rishiagarwal95 profile image
Rishi Agarwal

Great article... But this point where you say
'You can also pass the array index as the key.'
So this is sort of an anti - pattern in react , we should not pass index as keys since it leads to some issues. You can read more about it in official docs.

Some comments have been hidden by the post's author - find out more

Forem Open with the Forem app