Building Lists React Native

Published: 21 January 2020
on channel: Coders flow
14
0

React Native provides a set of components for displaying data lists. Generally you want to use either FlatList or SectionList.

The FlatList component displays a scrolling list of variable but similarly structured data. FlatList works well for long lists of data where the number of items may change over time. Unlike the more general ScrollView, FlatList renders only the elements currently displayed on the screen, not all of them at once.

The FlatList component requires two props: data and renderItem. data is a source of information for the list. renderItem takes one item from the source and returns the formatted component for rendering.
#ReactNative
#FlatList
#renderItem


On this page of the site you can watch the video online Building Lists React Native with a duration of hours minute second in good quality, which was uploaded by the user Coders flow 21 January 2020, share the link with friends and acquaintances, this video has already been watched 14 times on youtube and it was liked by 0 viewers. Enjoy your viewing!