T
TanStack•2y ago
absent-sapphire

Virtualized Tree

Hi, I'm back 🙂 I had to pause the virtualized tree for a while because of life... I'm still struggling unfortunately and maybe I need to approach it differently but my solution feels so close and if we could solve this puzzle I think it could be one of the better react tree solutions out there. In short, we are using the power of react components to create the tree structure with react state for expand/collapse, contexts for tree level and indentation. But the resulting DOM output is a flat list which should make it suitable for windowing/virtualization. Any ideas are very welcome! https://codesandbox.io/p/devbox/virtualized-tree-x3p397?file=%2Fsrc%2FTree.tsx%3A220%2C5
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?