Building Lists React Native

Pubblicato il: 21 gennaio 2020
sul canale di: 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


In questa pagina del sito puoi guardare il video online Building Lists React Native della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Coders flow 21 gennaio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 14 volte e gli è piaciuto 0 spettatori. Buona visione!