Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/react/react
/ getUID
Function
getUID
packages/react-devtools-shared/src/utils.js:172–174 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
170
let
uidCounter: number = 0;
171
172
export
function
getUID(): number {
173
return
++uidCounter;
174
}
175
176
export
function
utfDecodeStringWithRanges(
177
array: Array<number>,
Callers
3
getID
Function · 0.90
createFiberInstance
Function · 0.90
createVirtualInstance
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected