Skip to content

Improve performance of VirtualList

Warren Gifford requested to merge es/faster-virtual-list into main

Created by: eseliger

while we didn't display all elements at once with the VirtualList, it still required to render the react components in memory, before we pass them in. For searches with a lot of results, this caused thousands of renders to happen on each rerender (ie when streaming search receives a new event). This is fixed by providing an explicit render function, that renders the items lazily, instead of being passed-in the eager rendered components.

Merge request reports

Loading