Instructions
Render only the visible items in a long list for performance. Use absolute positioning and a scroll container.
Hints
- Calculate visible indices based on scroll
- Use a fixed height for each item
Tags
ReactVirtualizationPerformance
GoogleMetaAmazon
Use the editor on the right to write your code.
The preview will update automatically as you type.