Is your feature request related to a problem? Please describe.
I'm exploring how to implement a tree component that uses nested item rendering while also supporting virtualization for larger datasets.
I found the documentation for both:
The virtualization example uses a flattened item list (tree.getItems()), which appears to be a different pattern from nested rendering. I'm curious whether combining these two approaches is possible.
Describe the solution you'd like
I'm mainly wondering:
-
Is virtualization technically feasible when using nested item rendering? I imagine it might be tricky since nested structures typically require parent elements to be in the DOM.
-
If it is possible, would you consider adding an example to the docs? No pressure, just thought it might help others with similar questions.
Describe alternatives you've considered
- Flat rendering with indentation: Using the existing virtualization approach with flat rendering. Unfortunately, a flattened DOM structure doesn't work for my particular use case.
- Lazy loading of children: Loading child nodes on expand, though this wouldn't help with large sibling lists.
Additional context
I'm working with file system trees that can have many nodes. The nested DOM structure is a requirement for my project, so I'm trying to figure out if there's a path forward here.
Thanks for the great library, and any thoughts on this would be appreciated!
Is your feature request related to a problem? Please describe.
I'm exploring how to implement a tree component that uses nested item rendering while also supporting virtualization for larger datasets.
I found the documentation for both:
The virtualization example uses a flattened item list (
tree.getItems()), which appears to be a different pattern from nested rendering. I'm curious whether combining these two approaches is possible.Describe the solution you'd like
I'm mainly wondering:
Is virtualization technically feasible when using nested item rendering? I imagine it might be tricky since nested structures typically require parent elements to be in the DOM.
If it is possible, would you consider adding an example to the docs? No pressure, just thought it might help others with similar questions.
Describe alternatives you've considered
Additional context
I'm working with file system trees that can have many nodes. The nested DOM structure is a requirement for my project, so I'm trying to figure out if there's a path forward here.
Thanks for the great library, and any thoughts on this would be appreciated!