Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/imbhargav5/rooks
/ ref
Function
ref
packages/rooks/src/hooks/useOnHoverRef.ts:43–45 ·
view source on GitHub ↗
(el)
Source
from the content-addressed store, hash-verified
41
}, [mouseEnterCallback, mouseLeaveCallback, node]);
42
43
const
ref: RefCallback<HTMLElement> = (el) => {
44
setNode(el);
45
};
46
47
return
ref;
48
}
Callers
7
setRef
Function · 0.85
setRef
Function · 0.85
useMutationObserverRef.spec.tsx
File · 0.85
useOnClickRef.spec.tsx
File · 0.85
useIntersectionObserverRef.spec.tsx
File · 0.85
useBoundingclientrectRef.spec.tsx
File · 0.85
useOnHoverRef.spec.tsx
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected