Sima Amini
Sima Amini

Reputation: 376

watchInternal is not a function in react-hook-form

I'm getting an error while using react-hook-form 7.8.2, I used useWatch in one of my components.

Upvotes: 2

Views: 873

Answers (2)

Masood Abdolian
Masood Abdolian

Reputation: 9

In my case, that package wasn't installed

Upvotes: 1

Sima Amini
Sima Amini

Reputation: 376

I just needed to update to the latest version of react-hook-form.(at this moment 7.25.0) I couldn't find the reason. I'm just leaving this here for those who came across this weird error.

Upvotes: 2

Related Questions