MCPcopy Create free account
hub / github.com/caseywebdev/react-list / hasValidKey

Function hasValidKey

docs/index.js:1000–1006  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

998 return null === dispatcher ? null : dispatcher.getOwner();
999 }
1000 function hasValidKey(config) {
1001 if (hasOwnProperty.call(config, "key")) {
1002 var getter = Object.getOwnPropertyDescriptor(config, "key").get;
1003 if (getter && getter.isReactWarning) return !1;
1004 }
1005 return void 0 !== config.key;
1006 }
1007 function defineKeyPropWarningGetter(props, displayName) {
1008 function warnAboutAccessingKey() {
1009 specialPropKeyWarningShown ||

Callers 2

index.jsFile · 0.85
jsxDEVImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…