Replies: 1 comment
-
I am having the same issue. Not sure why. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
I was wondering if somebody could help me understand why there's an extra re-render whenever I use
errors
fromformState
.From what I can tell from this issue, it seems to be expected behaviour, not a bug.
I also saw in this thread that this behaviour might be related to the
errors
being a Proxy, but not sure how that answer applies to a simple form like I have in my example.Example on codesandbox
Just to illustrate what I mean by "re-renders":
errors
errors
(comment out)Thanks!
Beta Was this translation helpful? Give feedback.
All reactions