minop1205 / react-dnd-treeview

A draggable / droppable React-based treeview component. You can use render props to create each node freely.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename package name

percy507 opened this issue Β· comments

Just a suggestion!!!

This package is more like a frame to build custom treeview instead of a component which can be directly use. So how about rename the package name to react-treeview-frame? πŸ˜‚

Or you can consider to make some preset, beatuiful, directly-useable component in the future.

https://mui.com/zh/x/

image

@percy507 Thank you for your suggestion!

As a package name, we would like to include the word dnd, which is a feature of this component. Also, it certainly resembles a frame, but we are rather making it with the following headless UI in mind.
https://headlessui.dev/react/menu

Therefore, while we appreciate your suggestion, we do not intend to change the name at this time.

As for the preset UI, it might be a good idea to release a related package separately from this package to avoid installing packages that will not be used.

My basic idea is to keep this package as thin and simple as possible.