Check out a free preview of the full React Native, v2 course
The "Lists Exercise" Lesson is part of the full, React Native, v2 course featured in this preview video. Here's what you'd learn in this lesson:
The students are instructed to refactor code using the FlatList components.
Transcript from the "Lists Exercise" Lesson
[00:00:00]
>> Now that you know everything about the flat list, lets put this into practice. This colors you might have already recognized, are from the solarized color scheme which is one of my favorites. And the color palettes actually consists of 16 colors, not just four and here's all of them.
[00:00:20]
I would like you to modify your code to use a flat list to display all these colors. Here's a screenshot of what I would expect you to look on. And for extra credits, you could also try figuring out how to display the text in dark for the lighter palette colors.
Learn Straight from the Experts Who Shape the Modern Web
- In-depth Courses
- Industry Leading Experts
- Learning Paths
- Live Interactive Workshops