https://github.com/jayprakashkumar1/scrollview-vs-flatlist-react-native
ScrollView vs FlatList in React Native. Which one is better?
https://github.com/jayprakashkumar1/scrollview-vs-flatlist-react-native
flatlist javascript javascript-framework react-native reactjs scrollview
Last synced: about 2 months ago
JSON representation
ScrollView vs FlatList in React Native. Which one is better?
- Host: GitHub
- URL: https://github.com/jayprakashkumar1/scrollview-vs-flatlist-react-native
- Owner: jayprakashkumar1
- Created: 2019-03-04T19:21:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-04T19:40:27.000Z (about 6 years ago)
- Last Synced: 2025-01-13T23:35:04.056Z (3 months ago)
- Topics: flatlist, javascript, javascript-framework, react-native, reactjs, scrollview
- Language: JavaScript
- Size: 44.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ScrollView-vs-FlatList-React-Native
### ScrollView vs FlatList in React Native. Which one to choose?### ScrollView :
ScrollView must have a bounded height in order to work
ScrollView simply renders all its react child components at ONCE.
Dont' use If you have very long list of items
So Now FlatList comes in picture### FlatList :
FlatList renders items lazily, just when they are about to appear,
and removes items that scroll way off screen to save MEMPRY and PROCESSING TIME.
FlatList is also handy if you want to render separators between your items,
multiple columns, infinite scroll loading, or any number of other features it supports out of the box.so use accordingly..
### some snapshots:




Happing CodingS