Skip to content
public-library›Rules›React›Skip off-screen rendering work in long lists

Skip off-screen rendering work in long lists

For long lists whose items are mostly off screen, apply content-visibility: auto with a contain-intrinsic-size estimate to each item, so the browser skips layout and paint for items outside the viewport.

In the full rule