Suspense emit are inconsistent with non Async children on the initial render #5376
Labels
need guidance
The approach/solution in the PR is unclear and requires guidance from maintainer to proceed further.
scope: suspense
Version
3.2.30
Reproduction link
sfc.vuejs.org/
Steps to reproduce
What is expected?
What is actually happening?
Since suspense can be used with both async and sync components, I think we need some consistent event emitting:
The idea is being able to know that Suspense is displaying something and handle with the same code async and sync children. This could be useful for the router to know when view components start loading and when they are done loading. At the end there should be the same amount of pending and resolve (or errors or any other event)
The text was updated successfully, but these errors were encountered: