issue: use useFieldArray API like (append,move, etc)other field component rerender #8329
Unanswered
silverWolf818
asked this question in
General
Replies: 2 comments 4 replies
-
That's expected behavior. react hook form would need to flush down a re-render at the root (useFieldArray) of your form. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I understand there is no problem with component rendered in useFieldArray returning fileds , but other fields that are not in this scope should not be rendered |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version Number
7.30.0
Codesandbox/Expo snack
https://codesandbox.io/s/react-hook-form-usefieldarray-forked-bdfo6b?file=/src/index.js
Steps to reproduce
Expected behaviour
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions