Social media Infinite scroll
Hey guys , I was wondering how to reproduce the infinite scroll like the one similar to social media where the more you scroll down , the more content gets rendered . I can ’t quickly figure out how to make an API request and add the content on top of what has already been rendered . I would appreciate any response . ✅1But the gist of it is that you can use an observer (there 's an observer package ) That can trigger an API call with an offset The new items are then appended to a rendered list