TLDR Tech / Dev
Virtual Scrolling for Billions of Rows — Techniques from HighTable
HighTable is a React component that lets you scroll through billions of rows in a browser table smoothly. It only loads and renders the ~30 rows you can actually see at any given time. The tricky part is that browsers cap element heights at ~17M pixels, so the creative solution is to use a downscaled scrollbar plus a dual scrolling mode (small gestures scroll locally with pixel precision, big ones jump globally).
Read the full story