We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8200a35 commit 869f3f7Copy full SHA for 869f3f7
src/components/view.js
@@ -54,6 +54,8 @@ export default {
54
}
55
56
57
+ // also regiseter instance in prepatch hook
58
+ // in case the same component instance is reused across different routes
59
;(data.hook || (data.hook = {})).prepatch = (_, vnode) => {
60
matched.instances[name] = vnode.componentInstance
61
0 commit comments