我在使用 react-hook-form
7.8.2 时遇到错误,我在我的一个组件中使用了 useWatch
。
最佳答案
我只需要更新到最新版本的react-hook-form
。(此时7.25.0)
我找不到原因。我只是把这个留给那些遇到这个奇怪错误的人。
关于reactjs - watchInternal 不是react-hook-form 中的函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70859611/