st0ffern / react-native-optimized-flatlist

Optimization for complex and slow React Native FlatLists
MIT License
259 stars 47 forks source link

Fixing Invariant Violation error in RN 0.50 #14

Closed tmaly1980 closed 6 years ago

tmaly1980 commented 6 years ago

Starting with RN 0.50, calling bind(this) inside render() triggers this issue:

Invariant Violation: Changing onViewableItemsChanged on the fly is not supported

st0ffern commented 6 years ago

Thanks for PR 😉