-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Open
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: suspense
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.
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.has workaroundA workaround has been found to avoid the problemA workaround has been found to avoid the problemscope: suspense
Activity
edison1105 commentedon Aug 15, 2024
duplicate of #11611
a workaround