Skip to content

issue: With a <DevTool />, watch is not triggered by setValue #196

@QzCurious

Description

@QzCurious

Version Number

react-hook-form: 7.43.5; react: 18.2.0

Codesandbox/Expo snack

https://codesandbox.io/s/hookform-devtools-bug-watch-is-not-triggered-by-setvalue-mhcjlx?file=/src/index.tsx

Steps to reproduce

bandicam.2023-03-15.11-08-17-199.mp4

Expected behaviour

setValue should correctly trigger watch whether there's a <Devtool /> or not.

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions