I notice that you aren't setting a key prop on the mapped version. React should still throw a warning on that - with good reason, as it does consider it in performance optimizations.
Front End Developer & YouTuber,
I am passionate learner. Always ready to learn new things
My Youtube channel : https://www.youtube.com/channel/UCzAnHkAdDC3bq2W32y3JRWg
I notice that you aren't setting a
key
prop on the mapped version. React should still throw a warning on that - with good reason, as it does consider it in performance optimizations.For reference: reactjs.org/docs/lists-and-keys.ht...
Yes I will update this post for more such details.
Thanks for reading