devtool versions above 2.2.1 do not work together with rhf 6.15.8

Open
#174 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
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
devtools

Research direction

Start with the linked CodeSandbox and its /src/App.js reproduction using RHF 6.15.8 and devtools 4.2.2, then compare the behavior with devtools 2.2.1. Confirm the reported error and identify the compatibility boundary; done means the newer devtools version runs without errors alongside RHF 6.15.8.

Written by the indexing model from the issue text.

Description

RHF Version Number
6.15.8

Devtools Version Number
4.2.2

To solve all npm warnings while doing npm installs we upgraded to devtools 4.2.2 from 2.2.1. the 2.2.1 devtool version works without errors but the 4.2.2 gives errors see codesandbox

CodeSandBox
https://codesandbox.io/s/morning-haze-48owof?file=/src/App.js

Steps to reproduce

  1. Go to the sandbox
  2. devtool errors out

Expected behaviour
No errors thrown for the latest Devtools version with RHF 6.15.8

What browsers are you seeing the problem on?
Chrome

Relevant log output
see CBD

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

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.