Skip to content

πŸ› Bug Report: Fix React Key Anti-Pattern in PR ListΒ #638

@annrose2277-glitch

Description

@annrose2277-glitch

πŸ“œ Description

Problem
// ❌ Using array index as key - causes React bugs
{prs.map((pr, i) => (

  • Solution
    // ❌ Using array index as key - causes React bugs
    {prs.map((pr, i) => (

  • What browsers are you seeing the problem on?

    No response

    πŸ“ƒ Relevant Screenshots (Links)

    No response

  • Metadata

    Metadata

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions