Mihailo Vojinovic

Results 6 comments of Mihailo Vojinovic

> @mihna123 Calling `flattenTree()` more than once is potentially problematic. Iterating over the whole data set multiple times is inefficient and error prone. > > When I made that small...

@mellis481 I cant access your [codesandbox](https://codesandbox.io/p/sandbox/thirsty-black-2mmgjp), did you set it to public?

@mellis481 Sandbox works now, thank you. So if I expand all nodes with `expandedIds={treeData.map((x) => x.id)}` the error happens again.

@mellis481 Works better with a state variable. I am getting error now when trying to add a new node after deleting all nested nodes. See below for an example: ![acc-tree-view-error](https://github.com/dgreene1/react-accessible-treeview/assets/96874493/01c0f866-0166-45cb-b8cc-a2d34b8c7bf4)...

@mellis481 Very interesting! I posted this issue a while back when working on a project I no longer work on, so I no longer have a personal interest in this....

Why was this closed? I think this is a fine solution to issue #133