Hello! I’ve been working on a rethinking of an existing site which has posts and comments below them (with threads!). Comments amount might reach a huge number (like 5k) and the old site goes straightforward and renders each one in page. That causes some problems: for instance, my browser crashed.
Therefore, I was searching the way I can render huge amounts of data in a tree structure and not suffering from the memory limit.
Possible solutions: react-vtree (doesn’t work because there’s no autoSizer for a tree node)
My possible solution is render all comments but by a small portions and add each one when user reaches the end of the page. But I don’t know how to do that