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
On this page of the site you can watch the video online React Tutorial For Beginners #4 - Lists with map with a duration of hours minute second in good quality, which was uploaded by the user Red Eye Media 04 March 2021, share the link with friends and acquaintances, this video has already been watched 24 times on youtube and it was liked by 2 viewers. Enjoy your viewing!