-
Book Overview & Buying
-
Table Of Contents
React and React Native - Sixth Edition
By :
In this chapter, you'll learn how to work with item lists. Lists are a common web application component. While creating lists with the <ul> and <li> elements in HTML is relatively straightforward, achieving the same effect on native mobile platforms requires much more work.
Thankfully, React Native provides an item list interface that hides all of the complexity. In this chapter, first, you'll get a feel for how item lists work by walking through an example. Then, you'll learn how to build controls that change the data displayed in lists. Next, you'll see a couple of examples of the most common features of lists: infinite lazy loading and pull-to-refresh. Lastly, we will explore replacement list libraries that offer better performance and memory usage.
By the end of this chapter, you will know how to render data collections with FlatList, add sorting and filtering controls, fetch list data from an API, implement lazy loading and...