MCPcopy 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

170let uidCounter: number = 0;
171
172export function getUID(): number {
173 return ++uidCounter;
174}
175
176export function utfDecodeStringWithRanges(
177 array: Array<number>,

Callers 3

getIDFunction · 0.90
createFiberInstanceFunction · 0.90
createVirtualInstanceFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected