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

Function hasValidKey

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

Source from the content-addressed store, hash-verified

668 }
669
670 function hasValidKey(config) {
671 {
672 if (hasOwnProperty$1.call(config, 'key')) {
673 var getter = Object.getOwnPropertyDescriptor(config, 'key').get;
674
675 if (getter && getter.isReactWarning) {
676 return false;
677 }
678 }
679 }
680
681 return config.key !== undefined;
682 }
683
684 function defineKeyPropWarningGetter(props, displayName) {
685 var warnAboutAccessingKey = function () {

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…