Skip to content

Vue warning of duplicate keys in v-for are shown randomly #12995

@michaelcozzolino

Description

@michaelcozzolino

Vue version

3.X

Link to minimal reproduction

https://stackblitz.com/edit/vite-4jdq3cfy?file=docs%2Fexample.md

Steps to reproduce

Just create a vite app and a vue component having v-for with duplicate keys. the warnings do not always appear.
check vuejs/vitepress#4577 also for an explanatory video.

In the reproduction url i have given, the warnings seem to not appear at all

What is expected?

warnings must always be shown

What is actually happening?

warnings showing randomly

System Info

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions