hyper-tree
hyper-tree copied to clipboard
Question: How to get current selected tree node ?
Awesome lib 🚀
I could use instance from useTreeState in order to get always the current selected node, filtering in flatData and searching for selected: true , but that is not optimal.
Is there any API of how to get the current selected node, I would especially need it to sync with some external store (recoil in my case) ?
Thanks!
Hi @nichita-pasecinic, you can check issue