Chapter 16. Rendering Item Lists
In this chapter, you'll learn how to work with item lists. Working with lists is a common development activity when building applications for the Web. It's also relatively straightforward to build lists using the <ul>
and <li>
elements. Trying to do something similar on native mobile platforms is much more involved.
Thankfully, React Native provides a simple item list interface that hides all of the complexity. We'll kick things off by getting a feel for how item lists work by walking through an example. Then, we'll introduce some controls that change the data displayed in lists. Lastly, you'll see a couple of examples that fetch items from the network.
Rendering data collections
Let's start with a basic example. ...
Get React and React Native now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.