How to optimize the performance of mobile terminal length list? Drop-down loading always fills the page with data. What if there are too many dom pages that are too stuck?

how to optimize the performance of mobile terminal length list? Drop-down loading always fills the page with data. What if there are too many dom pages that are too stuck?
what I want is to delete the li tags that are not displayed on the page, but if deleted, the height of the page will change, the scroll offset will be correct, and the page will be pulled up to a certain extent, maybe in the opposite direction. How to reply to the li list that was deleted just now?
I"m a little confused. I hope to solve the problem.


probably needs to be solved by virtual list . Take a look at this article and talk about the implementation of front-end virtual list

.
Menu