Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ registerSpectrumLink
Function
registerSpectrumLink
packages/dev/s2-docs/src/prefetch.ts:85–87 ·
view source on GitHub ↗
(value: DOMRefValue<HTMLAnchorElement> | null)
Source
from the content-addressed store, hash-verified
83
}
84
85
export
function
registerSpectrumLink(value: DOMRefValue<HTMLAnchorElement> | null) {
86
return
registerLink(value?.UNSAFE_getDOMNode() || null);
87
}
Callers
1
ComponentCardClient
Function · 0.90
Calls
2
registerLink
Function · 0.85
UNSAFE_getDOMNode
Method · 0.80
Tested by
no test coverage detected