-
|
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? |
Beta Was this translation helpful? Give feedback.
Answered by
Moshyfawn
Mar 8, 2024
Replies: 1 comment 2 replies
-
|
Add |
Beta Was this translation helpful? Give feedback.
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.