twobin / react-lazyload

Lazy load your component, image or anything matters the performance.
MIT License
5.86k stars 487 forks source link

loadAll function to print not loaded elements #240

Open shunxing opened 5 years ago

shunxing commented 5 years ago

Hi

On my application, I'd like to know if it would be possible to have a loadAll function which will allows me to print elements that are not loaded because they haven't been showed in the viewport.

I actually have a temporary solution which is scrolling to the bottom page but it looks like a scroll you can have when you commit an error in your form filling, so kind of confusing for the user.

The loadAll will allow us not to scroll to the bottom of the page to load missing elements.

Have you encountered this kind of issue?