DEV Community

Discussion on: Two lines of CSS that boosts 7x rendering performance!

Collapse
 
mnathani profile image
Murtaza Nathani

Thanks for sharing you work @ninjin , it looks great...

It depends on the usecase , well if you dont want to load all the data, then can't we do pagination or infinite scrolling ? that are the built in optimization..

Collapse
 
ninjin profile image
Jin

Yes, of course, and there I was just talking about how to get the effect of lazy loading and rendering without making any effort to optimize at the application level.
See the huge example: nin-jin.github.io/habrcomment/#art...
And its source code: github.com/nin-jin/habrcomment
Pagination and endless scrolling can't work well here.

Thread Thread
 
mnathani profile image
Murtaza Nathani

wow it looks smooth. Great effort bro.. scrolling of the doc seems rendering only the viewport 👍