Skip to content

Support for dynamic data scenarios #330

Open
@McJezuss

Description

@McJezuss

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?

Bug

What is the actual behavior/output?

When updating the data dynamically with a state, the tree data doesn't actually update. The data I set at creation is the only data that it displays, regardless if I update it in the state or not.

What is the behavior/output you expect?

I expect the internal data of the tree to update.

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

I would need access to our system, so no, but I am willing to share whatever you need to see.

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

2.0.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions