map function and key props error in react js
so im new with reactjs , heres the code
the error is in image
6 Replies
I'm unfamiliar with React, but I'm guessing you're missing the key property on
#project-section
Thanks it does work
But I have 2 more divs but it doesn't ask for key , but why it asks for this main div ?
because it's the direct descendent of the loop
it needs to be able to reference the main descendent easily
Oh I see
Thanks
yup, glad to help!
Yep