st0ffern / react-native-optimized-flatlist

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

fix(Error): fix for rowRef[index].ref. null #7

Closed gollandl closed 7 years ago

gollandl commented 7 years ago

I am using your react-native-optimized-flatlist library and ran into an error when trying to remove data rows from my array and setting a new state. The error was associated with the rowRefs[index].ref in _updateItem() with index being found as null and so we put in a small fix for this. Thanks.

st0ffern commented 7 years ago

👍 Thanks for PR 😉