Skip to content

Better debugging for duplicated-keys invariant violation #1349

Closed
@coventry

Description

@coventry

It would be great if there was a tool which could pull out and report on the elements of the virtual dom which match a given key. That would really help in tracking down the causes of error messages like "Invariant Violation: flattenChildren(...): Encountered two children with the same key, .NotTheActual/Key String. Children keys must be unique."

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