Skip to content

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

Closed
@zkulbeda

Description

@zkulbeda

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 #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 vuejs/router#1324 from closing

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions