Is it possible to implement nested virtualization with @tanstack/virtual
Hey is it possible to implement nested virtualization with @tanstack/virtual, or is it better to flatten everything into a single list for better performance?
I have a hierarchical data structure like this:
Would it be better to virtualize each level separately or flatten the hierarchy into a single list and manage expansion manually? note: my list can be very long
1 Reply
conscious-sapphire•6mo ago
You could only do flatten, I am not sure how can you proceed with nested virtulization, also representation and internal structure could be always different and that is what react-table also does.