From: Evan You Date: Wed, 21 Aug 2019 20:17:02 +0000 (-0400) Subject: chore: comments X-Git-Tag: v3.0.0-alpha.0~902 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=13f506765696446df2093bd703d68dd700ca8a54;p=thirdparty%2Fvuejs%2Fcore.git chore: comments --- diff --git a/packages/runtime-dom/src/modules/props.ts b/packages/runtime-dom/src/modules/props.ts index dc3ad2fac5..8dd9c43767 100644 --- a/packages/runtime-dom/src/modules/props.ts +++ b/packages/runtime-dom/src/modules/props.ts @@ -2,6 +2,9 @@ export function patchDOMProp( el: any, key: string, value: any, + // the next 3 args are passed only due to potential innerHTML/textContent + // overriding existing VNodes, in which case the old tree must be properly + // unmounted. prevChildren: any, parentComponent: any, unmountChildren: any