JakeSidSmith / react-reorder

Drag & drop, touch enabled, reorderable / sortable list, React component
https://jakesidsmith.github.io/react-reorder/
MIT License
218 stars 58 forks source link

Move findDOMNode to storeRootNode #88

Closed wmertens closed 7 years ago

wmertens commented 7 years ago

findDOMNode is necessary for when the wrapping component is not a DOM node, but by putting it in storeRootNode, we only run it once.

Note: untested :) I just saw it and thought "hmm"

JakeSidSmith commented 7 years ago

Cheers, have fixed in #71

https://github.com/JakeSidSmith/react-reorder/pull/71/commits/1c1dad3ca8ac006ff9a98b21c07ea80cc3b84bc8