Skip to content

Not able to toggle node if there is no children #21

@iamparnab

Description

@iamparnab

I am trying to make a component hierarchy with this package. The only problem I am facing is toggling the state if I am not preloading it with children data. I need to asynchronously load children data on toggle action, but the code is checking the length of children array. Is it possible for you add a property like hasChildren or willHaveChildren instead of using the children array length?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions