Skip to content

It should be noted that the ref array does not guarantee the same order as the source array - provide example (or remove) #1961

Open
@jacekkarczmarczyk

Description

@jacekkarczmarczyk

There's information in docs (https://vuejs.org/guide/essentials/template-refs.html#refs-inside-v-for) that the order of the elements of an array ref is not guaranteed.

It may restrain some developers from using <foo v-for="..." ref="someRef"> and make them search for another solution resulting in the correct order. However if the statement is valid only for very specific scenarios there should be some example(s) so that developers know whether their usecase would provide the correct order of elements or not.

If this is something that was just copied from Vue 2 and is not relevant any longer then it should be removed

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions