How to pass form Data into children component that won't cause re-render every keystroke (form value change). #12425
Unanswered
ngamsomset
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having this form where user will need to fill in the data and I have to pass all of the form data into a child component.
At the moment I pass form data into child component like so
data={form.getValues()}
. So child component will render every time that the value of the form changes (which means every keystroke). How to prevent this from happening?thank you!
Beta Was this translation helpful? Give feedback.
All reactions