Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ current
Function
current
packages/@react-spectrum/s2/src/useDOMRef.ts:62–64 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
): RefObject<T | null> {
61
return
{
62
get current() {
63
return
ref.current && ref.current.UNSAFE_getDOMNode();
64
}
65
};
66
}
67
Callers
nothing calls this directly
Calls
1
UNSAFE_getDOMNode
Method · 0.80
Tested by
no test coverage detected