frontend-collective / frontend-collective/react-sortable-tree

Need path info immediately after adding item to tree

Open
#272 5 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

This is more of a question.
I am adding node programmatically, similar to here:
https://fritz-c.github.io/react-sortable-tree/storybook/index.html?selectedKind=Basics&selectedStory=Add%20and%20remove%20nodes%20programmatically&full=0&addons=0&stories=1&panelRight=0

Immediately after adding a node to the tree I need to find the path info which the item was inserted at (similar to clicking a button in the node and and getting the node/path ). What would be the recommended approach to getting this info?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.