refactor: use shared util, remove unused regex
This commit is contained in:
@@ -5,16 +5,11 @@ import {
|
||||
} from './component'
|
||||
import { VNodeFlags, ChildrenFlags } from './flags'
|
||||
import { createComponentClassFromOptions } from './componentUtils'
|
||||
import {
|
||||
handlersRE,
|
||||
EMPTY_OBJ,
|
||||
isObject,
|
||||
isArray,
|
||||
isFunction,
|
||||
isString
|
||||
} from '@vue/shared'
|
||||
import { EMPTY_OBJ, isObject, isArray, isFunction, isString } from '@vue/shared'
|
||||
import { RawChildrenType, RawSlots } from './h'
|
||||
|
||||
const handlersRE = /^on|^vnode/
|
||||
|
||||
// Vue core is platform agnostic, so we are not using Element for "DOM" nodes.
|
||||
export interface RenderNode {
|
||||
vnode?: VNode | null
|
||||
|
||||
Reference in New Issue
Block a user