what are keys in react, And why do we need keys?
Answers (1)
Add AnswerA key could be a special string attribute you would like to incorporate once making lists of components in React. Keys area unit is accustomed to react to spot that things within the list area unit are modified, updated, or deleted. In alternative words, we can say that keys are accustomed to offering identity to the weather within the lists.