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

Function warnForExtraAttributes

docs/index.js:35537–35548  ·  view source on GitHub ↗
(
      domElement,
      attributeNames,
      serverDifferences
    )

Source from the content-addressed store, hash-verified

35535 (serverDifferences[propName] = serverValue));
35536 }
35537 function warnForExtraAttributes(
35538 domElement,
35539 attributeNames,
35540 serverDifferences
35541 ) {
35542 attributeNames.forEach(function (attributeName) {
35543 serverDifferences[getPropNameFromAttributeName(attributeName)] =
35544 "style" === attributeName
35545 ? getStylesObjectFromElement(domElement)
35546 : domElement.getAttribute(attributeName);
35547 });
35548 }
35549 function warnForInvalidEventListener(registrationName, listener) {
35550 !1 === listener
35551 ? console.error(

Callers 1

diffHydratedPropertiesFunction · 0.85

Calls 2

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…