Skip to content

HMR only affects last instance of component in v-for #9679

@danielroe

Description

@danielroe

Describe the bug

When a v-for is looping over a component, only the last item in the loop is updated when HMR takes place.

Reproduction

https://stackblitz.com/edit/vitejs-vite-gshvzb

System Info

Stackblitz

Used Package Manager

npm

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions