You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get ownerDocument before calling onStop handlers (#198)
If a draggable onStop handler causes the wrapped component to unmount,
ReactDOM.findDOMNode will error with “Uncaught Invariant Violation:
findDOMNode was called on an unmounted component”. This avoids that.
Plus it’s cleaner.
0 commit comments