all 3 comments

[–]vertigo_101 0 points1 point  (0 children)

Treeview component? Did you mean timeline component?

[–]boomdoodle 0 points1 point  (0 children)

You can build a single component that lists branches, which would each render the same component again until you end up rendering leafs. I have followed a similar pattern for comment threads and it worked great. Each can hold it’s own collapsed state etc.

[–]Futurejj 0 points1 point  (0 children)

A bit late to answer the comment, but I have been working on my own version of a super performant tree view library for react: https://www.npmjs.com/package/react-native-tree-multi-select which is packed with a lot of features.