5. Use getItemLayout to optimize flatlist react native UsinggetItemLayoutin FlatList brings some good performance benefits in my experience. This is really useful! Using getItemLayout removes the need for FlatList to measure the list items layout. But you can use this method only if your list it...
FlatList, } from "native-base"; import { TabView } from "react-native-tab-view"; import { Ionicons, FontAwesome } from '@expo/vector-icons'; @@ -86,7 +87,7 @@ function BusSelector({ } else { return ( <Checkbox value={busName} m="1"> ...