Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Review use of Property name as key

Aperta
#422 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Cerca nei Guessers i punti in cui un Property name viene usato come React key, quindi traccia il percorso di rendering interessato. Riproduci la duplicate-key warning e verifica che le key non necessarie vengano rimosse o sostituite con object IDs, senza lasciare key ripetute.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description
Currently it seems like the Guessers are using the field name as key for some reason?
That causes the console to be rightfully flooded with errors like this:

Warning: Encountered two children with the same key, .$redirectUrl. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.

so I'd suggest that's either removed where no key is necessary and replaced with the ID of the object where it is.

Lingua principale
TypeScript
Stelle
516
Fork
134
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di api-platform/admin

Tutte le issue di api-platform/admin

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.