ReactJS Loops best practices // Array Index as Key considered harmful

basarat
basarat
1.9 هزار بار بازدید - پارسال - In this ReactJS lesson, we
In this ReactJS lesson, we break down when it's okay to use an index as a key and when it is completely not okay ... and the grey area in between 🌹

Course Page (Professional ReactJS):
https://www.booleanart.com/course/react

Smash that 👍 and 🔔
Share to spread the love 🤗

Chapters
0:00 Intro
0:13 No Key Example
0:51 Impure Components
1:30 Pure Components
1:58 Index as Key
2:56 Data-driven Keys
3:59 Pure Component Performance
5:17 Outro

👇 Subscribe + Notification 🔔 for MOORE 👇
https://www.youtube.com/basaratali?su...

🌹 Support 🌹
Join: basaratali

~
Twitter: basarat
https://github.com/basarat
https://basarat.com/
پارسال در تاریخ 1401/12/15 منتشر شده است.
1,910 بـار بازدید شده
... بیشتر