I encountered a performance warning in my React Native project when using the react-native-element-dropdown component to render a large list of items. The warning message is as follows:
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.
Invariant Violation: scrollToIndex out of range: requested index 157 is out of 0 to 2, js engine: hermes
Thank you for your help in addressing this performance issue!
I encountered a performance warning in my React Native project when using the react-native-element-dropdown component to render a large list of items. The warning message is as follows:
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.
Invariant Violation: scrollToIndex out of range: requested index 157 is out of 0 to 2, js engine: hermes
Thank you for your help in addressing this performance issue!