MCPcopy
hub / github.com/plotly/dash / createRef

Function createRef

dash/deps/react@18.2.0.js:417–427  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

415
416 // an immutable object with a single mutable value
417 function createRef() {
418 var refObject = {
419 current: null
420 };
421
422 {
423 Object.seal(refObject);
424 }
425
426 return refObject;
427 }
428
429 var isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare
430

Callers 8

ResizeDetectorFunction · 0.90
constructorMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…