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

issue: Custom validation functions are called on every change when Devtools are used

Aperta
#202 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start with the StackBlitz reproduction at src/App.tsx and compare the validation logs with Devtools enabled and disabled. Confirm that custom validation functions are not called on every change when Devtools are used; the behavior should match the non-Devtools form.

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

Descrizione

Version Number

7.47.0

Codesandbox/Expo snack

https://stackblitz.com/edit/stackblitz-starters-z9tuex?file=src%2FApp.tsx

Steps to reproduce
  1. Go to the repro link
  2. Notice the console logs of the first form
  3. Type in the first input, blur the input, ...
  4. Notice more logs
  5. Repeat for the second input and notice no logs until submitted
Expected behaviour

Behaviour should be the same as when Devtools aren't used

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Edge

Relevant log output

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
Lingua principale
TypeScript
Stelle
670
Fork
55
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 react-hook-form/devtools

Tutte le issue di react-hook-form/devtools

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.