The ListView Component is an inbuilt React Native view component that displays a list of items in a vertically scrollable list . It requires a ListView. DataSource API to populate a simple array of data blobs and instantiate the ListView component with a data source and a renderRow callback.
Read moreHow do I list items in react-native?
We will import List in our Home component and show it on screen . To create a list, we will use the map() method. This will iterate over an array of items, and render each one. When we run the app, we will see the list of names.
Read more