|
|
|
|
|
by yorwba
7 days ago
|
|
It's a classic performance trick for long scrolling lists to only render entries around the part you're looking at. When something moves off screen in one direction, you recycle its DOM elements and reuse them for the next content that's about to appear in the other direction. I'm not sure whether this optimization is really needed, though, since browsers should be able to handle 10,000 elements without breaking a sweat. |
|