Closed wmertens closed 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.
storeRootNode
Note: untested :) I just saw it and thought "hmm"
Cheers, have fixed in #71
https://github.com/JakeSidSmith/react-reorder/pull/71/commits/1c1dad3ca8ac006ff9a98b21c07ea80cc3b84bc8
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"