Skip to solution
hardFrontend

Build a Virtualized List with react-window (Fixed Size)

755 views
01

Understand the problem

Build a high-performance virtualized list that renders only visible rows using windowing (react-window / react-virtuoso) for 100k+ items.

ReactVirtualizationreact-windowPerformance
02

Attempt it yourself

Sketch your approach before reading the solution — that's what interviews test.

Nudge consolestandby

Stuck? Beam a request up — the console returns a conceptual nudge that guides your logic without spoiling the implementation.

03

Study the solution

Requirements

  • Render a list of 100,000 items (e.g. 10k contacts) with fixed row height (e.g. 48px) inside a scrollable container of height 400px.
  • Only mount DOM nodes for visible rows + overscan (e.g. 5 items above/below).
  • Support dynamic data, scrollToIndex(index), and keyboard navigation (↑/↓).
  • Show a scro

Solution ready — 2 min read

Classified // press E to declassify

04

Join the discussion

Discussion (0)

Sign in to join the discussion.

No responses yet. Be the first to share what you think.

Transmission complete // awaiting log

KEEP THE
STREAK ALIVE.

Dossier 72 of 87 decoded in the Frontend Machine Coding track. One more won't hurt.

Back to track