(
name: string,
{ isNativeTag }: AppConfig,
)
| 788 | const isBuiltInTag = /*@__PURE__*/ makeMap('slot,component') |
| 789 | |
| 790 | export function validateComponentName( |
| 791 | name: string, |
| 792 | { isNativeTag }: AppConfig, |
| 793 | ): void { |
| 794 | if (isBuiltInTag(name) || isNativeTag(name)) { |
| 795 | warn( |
| 796 | 'Do not use built-in or reserved HTML elements as component id: ' + name, |
| 797 | ) |
| 798 | } |
| 799 | } |
| 800 | |
| 801 | export function isStatefulComponent( |
| 802 | instance: ComponentInternalInstance, |
no test coverage detected