We expand on our portfolio page and make our project list dynamic by using the map function. This makes it so much simpler to render potentially long lists of data.
Timecodes
0:00 - Intro
0:37 - Expanding our data array
1:50 - Passing the new list as props
2:10 - Rewriting the Projects component
2:30 - Using the map function
4:50 - Passing in our array data to map
6:45 - Checking our browser
7:10 - Getting cannot read map of undefined
7:30 - Fixing the error
7:55 - Complete solution
Homepage
redeyemedia.io
Twitter
/ redeyemedia3
Sur cette page du site, vous pouvez voir la vidéo en ligne React Tutorial For Beginners #4 - Lists with map durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Red Eye Media 04 mars 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 24 fois et il a aimé 2 téléspectateurs. Bon visionnage!