twobin / twobin/react-lazyload

Lazyloading scrollParent reloads previously loaded

Open
#304 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.9k
Forks
485
PR merge metrics
No merged PRs in 30d

Description

I have wrapped my components with ... and the lazyloading is working nicely.

Bildschirmfoto 2020-06-06 um 09 24 31

I have noticed in the Chrome Network Inspector that on each scrollParent event not only the new component is loaded but the previosly loaded components are reloaded as well. That's a huge impact on network and performance.

Bildschirmfoto 2020-06-06 um 09 23 13

I can't imagine that it's how it is supposed to work so I guess that either I'm missing something or that there's an issue.

Please kindly have a look.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.