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

Function isCustomElement

docs/index.js:4775–4790  ·  view source on GitHub ↗
(tagName)

Source from the content-addressed store, hash-verified

4773 setValueForStyle(node, styleName$17, styles[styleName$17]);
4774}
4775function isCustomElement(tagName) {
4776 if (-1 === tagName.indexOf("-")) return !1;
4777 switch (tagName) {
4778 case "annotation-xml":
4779 case "color-profile":
4780 case "font-face":
4781 case "font-face-src":
4782 case "font-face-uri":
4783 case "font-face-format":
4784 case "font-face-name":
4785 case "missing-glyph":
4786 return !1;
4787 default:
4788 return !0;
4789 }
4790}
4791var aliases = new Map([
4792 ["acceptCharset", "accept-charset"],
4793 ["htmlFor", "for"],

Callers 5

setInitialPropertiesFunction · 0.85
updatePropertiesFunction · 0.85
diffHydratedPropertiesFunction · 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…