Skip to content

HMR fails when using keep-alive and Suspense. #13075

Open
@hooray

Description

@hooray

Vue version

3.5.13

Link to minimal reproduction

https://github.com/minimal-reproduction/vue-keepalive-suspense

Steps to reproduce

After the second modification of the ref value, the page will not update.

Kapture.2025-03-20.at.17.19.01.mp4

What is expected?

HMR is working normally.

What is actually happening?

HMR is broken.

System Info

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: hmrscope: suspense

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions