I am new to React and Trying to implement infinity scroll with useInfinityLoader Hook. It works fine when on the page I implement but if I change the page and back to the original one Its struck on the bottom of the page and keep fetching more until it exhausts all the data.
I am new to React and Trying to implement infinity scroll with
useInfinityLoader
Hook. It works fine when on the page I implement but if I change the page and back to the original one Its struck on the bottom of the page and keep fetching more until it exhausts all the data.