chore: comment on cloneVNode implementation [ci skip]
This commit is contained in:
parent
8d7a186def
commit
a8aa328907
@ -233,6 +233,8 @@ export function createVNode(
|
||||
}
|
||||
|
||||
export function cloneVNode(vnode: VNode, extraProps?: Data): VNode {
|
||||
// This is intentionally NOT using spread or extend to avoid the runtime
|
||||
// key enumeration cost.
|
||||
return {
|
||||
_isVNode: true,
|
||||
type: vnode.type,
|
||||
|
Loading…
Reference in New Issue
Block a user