suspensible
option throws error when child of suspense is not async
#8206
Labels
suspensible
option throws error when child of suspense is not async
#8206
Vue version
3.3.0-beta.3
Link to minimal reproduction
https://play.vuejs.org/#eNptUMtqwzAQ/JXBF9lgqlx6KU4g9AcK6bEX19lggS0JSXYoxv/elWT3RS+SdmY0O7tLcbb2YZ6oeCoa3zllAzyFyZ7eNKBGa1zAgivdlKaz/9Dds2FQkw41eqy4OTNCsIGIHzqjfcCFZThiiQiyXVntJeAYcBoMHU/oS3FVs6gheoXQkyNRZeEar3Rk19Sdbf/LUraJzJZbo/beqgBNd7xwRuWpdOTNMFPUcKhXNZKZwo7WeDwcqq33FjEOklIw3Mi8Hl4MF4FGO7SB0pqay+QtaZ8rrnmi7fmDhM8P9T7swszH5PJbL/+6yd3uF9XIrwzF+gnIkZOe
Steps to reproduce
Load page with a synchronous component under
<Suspense suspensible>
and the following error will be displayed:I believe this is because there is no suspense needed for the child of the second suspense. When replacing the
<Sync>
with<Async>
, everything works as expected.What is expected?
I expect that
<Suspense suspensible>
should work with both async + sync components.What is actually happening?
It only works with async components.
System Info
No response
Any additional comments?
See #5513, #6736.
The text was updated successfully, but these errors were encountered: