Open
Description
In canDrop
, before returning false
, we want to update state to display notification about why it can't be dropped, but got this error:
Uncaught Error: You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html
Is there a way to deal with it or may be a callback function?