fix(hmr): force full update in child component on slot update

This commit is contained in:
Evan You
2020-05-29 10:50:01 -04:00
parent 5ddd9d2417
commit 2408a65662
6 changed files with 24 additions and 17 deletions

View File

@@ -251,7 +251,7 @@ export function shouldUpdateComponent(
__DEV__ &&
(prevChildren || nextChildren) &&
parentComponent &&
parentComponent.renderUpdated
parentComponent.hmrUpdated
) {
return true
}