Search code examples
react-nativeexpoflatlistreact-native-snap-carousel

What is the best option for large FlatList in react native (expo)


Hello I am building an app and was wondering what the best option would be for optimizing a very large flatlist. It will take some time to load each element inside a flatlist since it contains images, a lot of text, etc. Would it be better to use just a plane flatlist or something like react-native-snap-carousel, react-native-reanimated-carousel?


Solution

  • Use pagination technique to show large data from flatlist. Avoid third party libraries like react-native-snap-carousel. It may cause the issues as time passes and can also be the reason for large apk or ipa size.