fix(runtime-core): cloned vnodes with extra props should de-opt

This commit is contained in:
Evan You
2020-05-01 14:55:27 -04:00
parent ac6a6f11ac
commit 08bf7e3607
4 changed files with 16 additions and 10 deletions

View File

@@ -76,9 +76,10 @@ export const enum PatchFlags {
HOISTED = -1,
// A special flag that indicates that the diffing algorithm should bail out
// of optimized mode. This is only on block fragments created by renderSlot()
// of optimized mode. For example, on block fragments created by renderSlot()
// when encountering non-compiler generated slots (i.e. manually written
// render functions, which should always be fully diffed)
// OR manually cloneVNodes
BAIL = -2
}