Skip to content

Commit 9b384bd

Browse files
committed
give the component update computation a name
1 parent b708c04 commit 9b384bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/instance/lifecycle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function lifecycleMixin (Vue: Class<Component>) {
6161
}
6262
}
6363
callHook(vm, 'beforeMount')
64-
vm._watcher = new Watcher(vm, () => {
64+
vm._watcher = new Watcher(vm, function updateComponent () {
6565
vm._update(vm._render(), hydrating)
6666
}, noop)
6767
hydrating = false

0 commit comments

Comments
 (0)