Add change vs input event description
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 11.8k
- Fork
- 7.9k
- Merge medio
- 1g 11h
- PR unite (30g)
- 11
Descrizione
The Synthetic Events docs for form events points to the Forms doc page as a reference for onChange, onInput, onInvalid, and onSubmit, but the Form page does not go into any detail about these events, and more importantly, how React's change and input events differ from the DOM events of the same name.
It appears a small note used to exist in the Form doc, but has been removed.
A short note about the change event exists in the DOM Elements doc. This was not an obvious place to look to for this information to me, and it does not address the input event. At the very least, this should probably be link to in the Synthetic Events doc, if no other changes are made.
I would like to see a more thorough description of the change and input events and when to use them in the Form doc.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dalla sezione Synthetic Events form-events, dalla Forms documentation e dalla sezione DOM Elements onChange collegate nell’issue. Confronta la loro copertura attuale con la distinzione richiesta nell’issue tra gli eventi change e input di React e controlla la pull request indicata per la formulazione precedente. Il lavoro è completato quando la Forms documentation spiega entrambi gli eventi e quando usarli, oppure rimanda chiaramente a quella spiegazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, react
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100