wip: pass proper args to patchDOMProp

This commit is contained in:
Evan You
2019-09-10 12:11:08 -04:00
parent 2677c91aba
commit 42967f1f5a
3 changed files with 9 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ export function patchDOMProp(
el: any,
key: string,
value: any,
// the next 3 args are passed only due to potential innerHTML/textContent
// the following args are passed only due to potential innerHTML/textContent
// overriding existing VNodes, in which case the old tree must be properly
// unmounted.
prevChildren: any,