Open
Description
Vue version
3.4.37
Link to minimal reproduction
Steps to reproduce
Happens on startup, is child loading? true
is true for an indefinite amount of time, which shouldn't be the case.
What is expected?
After 1 second is child loading? true
should be false
What is actually happening?
After 1 second is child loading? true
should be true
System Info
No response
Any additional comments?
Import the child component directly and it will work, doesn't work with async component.
This is probably the issue which was encountered in #11611, but without vuetify and vue-router. I checked vuetify and they use suspense and the MyRouterView.vue
should be somewhat close to what vue-router does I think.
The issue disappears when the first loaded component
let comp = shallowRef(dummy);
is not a dummy but the Page
component.