Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ current
Function
current
packages/react-aria/src/utils/useObjectRef.ts:55–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
return
useMemo(
54
() => ({
55
get current() {
56
return
objRef.current;
57
},
58
set current(value) {
59
objRef.current = value;
60
if
(cleanupRef.current) {
Callers
nothing calls this directly
Calls
1
current
Method · 0.45
Tested by
no test coverage detected