We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2b274a commit e977c59Copy full SHA for e977c59
packages/runtime-core/src/vnode.ts
@@ -665,7 +665,7 @@ export function cloneVNode<T, U>(
665
// fast paths only.
666
patchFlag:
667
extraProps && vnode.type !== Fragment
668
- ? patchFlag === -1 // hoisted node
+ ? patchFlag === PatchFlags.HOISTED // hoisted node
669
? PatchFlags.FULL_PROPS
670
: patchFlag | PatchFlags.FULL_PROPS
671
: patchFlag,
0 commit comments