|
So I am getting a setValue object from calling useForm, a few line down I have a function like and get the warning message What's the best way to deal with this? |
Answered by
Moshyfawn
Mar 8, 2024
Replies: 1 comment 2 replies
|
Add |
2 replies
Answer selected by
paulhoule
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add
setValueto the dependency array. The method should be stable and not cause unnecessary re-rendering.