-
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 1 reply
-
Add |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
paulhoule
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add
setValue
to the dependency array. The method should be stable and not cause unnecessary re-rendering.