I'm facing a problem doing stuff with React-DND.
My question is about preventing dragging a component for a specific state. But "canDrag" can only have props and monitor as Parameters. (monitor.getItem shows null in my case) and I cannot use the props because these will be present in every component (since the props came from the parent component).
Does anyone has any idea solving this problem?
Thx