I have a gallery grid that contains 50 rows and 30+ columns. There is both horizonal and vertical scrolling so as you can imagine, a majority of the objects are always off screen. In normal coding, we would implement virtual scrolling so that objects would be mounted/unmounted as they go on/off screen. Does setting the onVisible() of my objects to false when they're outside of screen view increase the performance? Does being invisible actually unmount these objects from the DOM and have less rendered objects that allows the app to feel more lightweight?


Report
All responses (
Answers (