react-infinite-scroll-component
react-infinite-scroll-component copied to clipboard
How to refresh the data in the InfiniteScroll component when I delete an item
I am trying to delete an item from the component when I delete an Item. But it is not re rendering or refreshing the data.
Is this the default or expected behavior?
Is there a way to refresh the data without having to call the API again to re fetch the data?