Closed Imaginativeone closed 4 months ago
Hello @Imaginativeone.
I'm not sure of what you mean by a guide for drag & drop, but if u want a way to add drag & drop to any part of your ui components, i recommend to check dnd-kit here, it will suited for all cases, performant and lightweight.
@BelkacemYerfa For now, I might be relegated to this: https://github.com/brimdata/react-arborist In time, I'd like to make something like it by using your technique(s).
Hi again @Imaginativeone.
I have looked at react-arborist that you have mentioned, The approach they use is more abstract that what we use, but if you want to build something similar but having more control over the component, you can check the source code of out Tree View component, it should provide a solid starting point for you, and also dnd-kit has an example on their repo on how u can build tree like that one using there library, you can check the example code here, the live example deployed on storybook. Those should provide a solid starting point for you.
We can help you a beat with some implementation details, this is an invite for our discord account if you want to chat with other contributors about those stuff, and also you can reach us : https://discord.gg/H7AjYkXn.
Please provide some guidance about how I'd add drag and drop. Thanks.