3 ms·
It's easy with static content, but React tends to run into performance issues with long lists like that. Generally the way of fixing it is virtualize the list.
by schwartzworld 5y ago
It's easy with static content, but React tends to run into performance issues with long lists like that. Generally the way of fixing it is virtualize the list. Basically check the window scroll position and only render rows that you need to, instead of the offscreen rows. Twitter does this well, but I'm not sure you'd be able to Ctrl+F for text that isn't rendered.