How to Animate the Items of a React Native FlatList
Spencer Carli

Awesome article! but i have some doubts/queries, hope you will clear them.
1. In your “handleAdd” method you added a new row(entry) to state(people) that is mutating the same state. So on adding new row only the latest row will render(Lifecycle methods run) & rest would be unaffected by it. But Inside “handleRemove” method you sliced the array and assigned the new array list to the state(people) i.e not mutating the same state. So after removing a row, A whole new list would re-render again(Please correct me if i’m wrong).
2. How height property of rowStyles smoothen the jump of next row. Would you please elaborate the interpolate work in this?

Thanks in advance.

Show your support

Clapping shows how much you appreciated Vicky Gusain’s story.