Subscribe on changes!

Nested components in detached branch render while being detached even with child suspensible suspense

avatar
Jun 29th 2023

Vue version

3.3.4

Link to minimal reproduction

https://play.vuejs.org

Steps to reproduce

  • Click on Show Async
  • Wait for everything to be displayed

What is expected?

  • The async child should render only once in the first click

What is actually happening?

  • The toggle causes the async child to render twice

System Info

No response

Any additional comments?

Previous bug https://github.com/vuejs/core/issues/5513 was closed due to the introduction of the suspensible option. But the bug is still present even when using suspensible on Suspense. This issue is blocking https://github.com/vuejs/router/issues/1324 from closing

avatar
Jan 9th 2024

Just noting for reference, verified this is still a problem with vue v3.4.6