Skip to content

index used as key #14

@ZooeyMiller

Description

@ZooeyMiller

Indexes shouldn't be used as keys in react as it doesn't work properly for react's diffing.

this video explains it better than I ever would: https://egghead.io/lessons/react-use-the-key-prop-when-rendering-a-list-with-react

(ping me on gitter if you need the fac egghead login)

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