(tag)
| 6629 | var hasOwnProperty = {}.hasOwnProperty; |
| 6630 | |
| 6631 | function validateDangerousTag(tag) { |
| 6632 | if (!hasOwnProperty.call(validatedTagCache, tag)) { |
| 6633 | !VALID_TAG_REGEX.test(tag) ? "development" !== 'production' ? invariant(false, 'Invalid tag: %s', tag) : invariant(false) : void 0; |
| 6634 | validatedTagCache[tag] = true; |
| 6635 | } |
| 6636 | } |
| 6637 | |
| 6638 | function isCustomComponent(tagName, props) { |
| 6639 | return tagName.indexOf('-') >= 0 || props.is != null; |
no test coverage detected
searching dependent graphs…