Lemon.io interview question

How do you optimize rendering large lists in React?

Interview Answer

Anonymous

22 Jan 2025

There's no need to optimize because it's handled by the Virtual DOM. Optimizations using will-change on CSS for the layout and painting when the browser renders it isn't considered as an optimization. Comparing with virtualized lists in React Native may also get you failing to answer this question. Apparently there's no technical depth to consider such answers with comparisons. This is a tricky, misleading, and unnecessary question since there's no need to optimize lists with Virtual DOM.