MCPcopy Create free account
hub / github.com/react-dnd/react-dnd / receiveHandlerId

Function receiveHandlerId

packages/react-dnd/src/createTargetConnector.js:26–33  ·  view source on GitHub ↗
(handlerId)

Source from the content-addressed store, hash-verified

24 }
25
26 function receiveHandlerId(handlerId) {
27 if (handlerId === currentHandlerId) {
28 return;
29 }
30
31 currentHandlerId = handlerId;
32 reconnectDropTarget();
33 }
34
35 const hooks = wrapConnectorHooks({
36 dropTarget: function connectDropTarget(node, options) {

Callers

nothing calls this directly

Calls 1

reconnectDropTargetFunction · 0.85

Tested by

no test coverage detected