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
На этой странице сайта вы можете посмотреть видео онлайн React Tutorial For Beginners #4 - Lists with map длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Red Eye Media 04 Март 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 24 раз и оно понравилось 2 зрителям. Приятного просмотра!