Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/react-dnd/react-dnd
/ unregisterSource
Function
unregisterSource
packages/react-dnd/src/registerSource.js:5–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
const
sourceId = registry.addSource(
type
, source);
4
5
function
unregisterSource() {
6
registry.removeSource(sourceId);
7
}
8
9
return
{
10
handlerId: sourceId,
Callers
nothing calls this directly
Calls
1
removeSource
Method · 0.80
Tested by
no test coverage detected