hyochan / react-native-masonry-list

The Masonry List implementation which has similar implementation as the `FlatList` in React Native
MIT License
393 stars 55 forks source link

render item index is `index` but it is `i` in MasonryList #20

Closed trajano closed 2 years ago

trajano commented 2 years ago

Describe the bug

The index in FlatList uses index but in MasonrlyList it uses i

hyochan commented 2 years ago

You are right. I preferred i instead of index since i is already well known to be an iterator.

I'll close this for now since I feel this is a bit trivial to discuss. This can be taken care of if there are further discussions from others.