ReactJS: Modeling Bi-Directional Infinite Scrolling
Our application uses infinite scrolling to navigate large lists of heterogenous items. There are a few wrinkles: It's common for our users to have a list of 10,000 items and need to scroll through 3k+. These are rich items, so we can only have a few hundred in the DOM before browser performance becomes unacceptable. The items are of varying heights. The items may contain images and we allow the user to jump to a specific date. This is tricky because the user can jump to a point in the list where we need to load images above the viewport, which would push the content down when they load.