react-hook-form / devtools

📋 DevTools to help debug forms.
https://react-hook-form.com/dev-tools
MIT License
638 stars 48 forks source link

devtool versions above 2.2.1 do not work together with rhf 6.15.8 #174

Open xsintill opened 2 years ago

xsintill commented 2 years ago

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