I want to use a react-native-select-dropdown with a large list (about 2000 items). But Already got a warning:
VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.
I tried to replace the FlatList with a VirtualizedList in the SelectedDropdown.js file, but nothing happened.
How to replace FlatList with VirtualizedList and will it help? Or is it better to look for another component for large list?
Good afternoon, colleagues.
I want to use a react-native-select-dropdown with a large list (about 2000 items). But Already got a warning:
VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.
I tried to replace the FlatList with a VirtualizedList in the SelectedDropdown.js file, but nothing happened.
How to replace FlatList with VirtualizedList and will it help? Or is it better to look for another component for large list?