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
We don't want to make any assumptions about your application, but most importantly:
PureComponent is counterproductive with components that use children. this.props.children !== this.props.children, essentially always, unless the developer has made an effort to hoist the child. If they're doing that, they can hoist the <Draggable /> as well.
Making this a PureComponent would only introduce a shallowCompare() that will always fail.
Is there a reason why DraggableCore is not a PureComponent?
The text was updated successfully, but these errors were encountered: