DEV Community

Understanding the importance of the key prop in React 🗝

Franco D'Alessio on April 01, 2020

Photo by Shane Avery on Unsplash If you’ve written some React code, you’ve most probably seen this warning: Almost every React application displays...
Collapse
 
quyctd profile image
Quy Dinh Cong

Excellent explanation, thank you so much 👏🏻

Collapse
 
francodalessio profile image
Franco D'Alessio

Thanks to you for your comment!

Collapse
 
monfernape profile image
Usman Khalil

That's an excellent explanation. Bring more

Collapse
 
francodalessio profile image
Franco D'Alessio

Thank you very much!

Collapse
 
majed profile image
Majedur Rahaman

Thanks. Excellent answer with clear description!

Collapse
 
francodalessio profile image
Franco D'Alessio

Thank you, I'm glad it helped!

Collapse
 
devworkssimone profile image
DevWorksSimone

Nice article, good to see the unwanted side effect in act 😉

Bell articolo, utile vedere i side effetti indesiderati senza key.

Collapse
 
francodalessio profile image
Franco D'Alessio

Thank you! I'm glad it was helpful!

Collapse
 
orelkan profile image
Orel Kanditan

Good explanation to an important concept

Collapse
 
francodalessio profile image
Franco D'Alessio

Thank you, I'm glad it helped!

Collapse
 
kasunisl profile image
kasun-ISL

In the emoji example why it deletes last one in the List.It has to be random. Isn't it?

Collapse
 
sasicodes profile image
Sasidharan

Very helpful. You saved my day. ;)

Collapse
 
huanzochen profile image
huanzo86

Good explanation to a important concept !!

Collapse
 
rohnikoul profile image
Rohnikoul

The best explanation so far!

Collapse
 
francodalessio profile image
Franco D'Alessio

Thank you very much!