Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/block/buzz
/ useLatestRef
Function
useLatestRef
desktop/src/shared/ui/markdown.tsx:105–109 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
103
>(undefined);
104
105
function useLatestRef<T>(value: T) {
106
const ref = React.useRef(value);
107
ref.current = value;
108
return ref;
109
}
110
111
function MarkdownVideoPlayer({
112
alt,
Callers
1
MarkdownInner
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected