Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#202 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
devtools, frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

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
Dominant language
TypeScript
Stars
670
Forks
55
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from react-hook-form/devtools

All issues in react-hook-form/devtools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.