MCPcopy Create free account
hub / github.com/plotly/dash / getTreeId

Function getTreeId

dash/deps/react-dom@18.3.1.js:12097–12102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12095 return treeForkCount;
12096 }
12097 function getTreeId() {
12098 var overflow = treeContextOverflow;
12099 var idWithLeadingBit = treeContextId;
12100 var id = idWithLeadingBit & ~getLeadingBit(idWithLeadingBit);
12101 return id.toString(32) + overflow;
12102 }
12103 function pushTreeFork(workInProgress, totalChildren) {
12104 // This is called right after we reconcile an array (or iterator) of child
12105 // fibers, because that's the only place where we know how many children in

Callers 1

mountIdFunction · 0.70

Calls 2

getLeadingBitFunction · 0.70
toStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…