You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have some verticalScroll that contains a large number (100+) widgets. Some of the widgets' content relies on some data it needs to fetch from the net so to not fetch all the data at once, I would like to implement some simple form of lazy loading such that the data is only fetch when the Vertical Scroll is showing the actual widget(s).
Is there a way to detect this easily without running through all of the widgets and identifying their individual locations on every scroll. With 100+ widgets it seems to slow down scrolling a lot.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have some verticalScroll that contains a large number (100+) widgets. Some of the widgets' content relies on some data it needs to fetch from the net so to not fetch all the data at once, I would like to implement some simple form of lazy loading such that the data is only fetch when the Vertical Scroll is showing the actual widget(s).
Is there a way to detect this easily without running through all of the widgets and identifying their individual locations on every scroll. With 100+ widgets it seems to slow down scrolling a lot.
Beta Was this translation helpful? Give feedback.
All reactions