DEV Community

Discussion on: A super simple implementation of Infinite Scrolling

Collapse
 
anirudhbagri profile image
Anirudh Bagri

This is great!

I have a page that is empty (no header/footer or any-body) and is supposed to put everything that comes from an API in an infinity scrollable page.
However, When my page starts with an empty document, it doesn't load anything?
Of course, I can call the function once or twice to initialize with some data.. but is that correct?