react-d3-tree icon indicating copy to clipboard operation
react-d3-tree copied to clipboard

Update Node Attributes without rerendering the whole tree.

Open unicornmafia opened this issue 5 years ago • 0 comments

Thank you for taking the time to report an issue with react-d3-tree!

Feel free to delete any questions that do not apply.

Are you reporting a bug, or opening a feature request?

Not sure if it's intended to work like this or not.

What is the actual behavior/output?

When updating tree data, it rerenders whole tree

What is the behavior/output you expect?

I would like it to only rerender the attributes if I change only the attributes in the data.

Can you consistently reproduce the issue/create a reproduction case (e.g. on https://codesandbox.io)?

yes

What version of react-d3-tree are you using?

latest

If react-d3-tree crashed with a traceback, please paste the full traceback below.

[Replace with your traceback]

unicornmafia avatar Aug 17 '20 08:08 unicornmafia