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

Function hasValidRef

dash/deps/react@16.14.0.js:656–668  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

654 }
655
656 function hasValidRef(config) {
657 {
658 if (hasOwnProperty$1.call(config, 'ref')) {
659 var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;
660
661 if (getter && getter.isReactWarning) {
662 return false;
663 }
664 }
665 }
666
667 return config.ref !== undefined;
668 }
669
670 function hasValidKey(config) {
671 {

Callers 2

createElementFunction · 0.70
cloneElementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…