minop1205 / react-dnd-treeview

A draggable / droppable React-based treeview component. You can use render props to create each node freely.
MIT License
530 stars 71 forks source link

React 17 compatibility #144

Closed kumar-parth closed 2 years ago

kumar-parth commented 2 years ago

Please add react 17 compatibility with this repo.

kumar-parth commented 2 years ago

It seems it has a peer dependency on React 18. If you could add React 17 as well in the peer dependency, which would do wonders for me. Thanks again for this wonderful npm package. :)

francoisroyer commented 2 years ago

+1 for React 17 - thank you!

minop1205 commented 2 years ago

Merged: https://github.com/minop1205/react-dnd-treeview/pull/152

minop1205 commented 2 years ago

An alpha version of v3.2 is now available.

npm i @minoru/react-dnd-treeview@alpha

This version also includes React 17.x as a peer dependency, so it can be used with React 17.

NOTE: If you use React 17, the latest version of React DnD is not available, so please install v15.x for React Dnd. https://github.com/react-dnd/react-dnd/issues/3423