Replies: 1 comment 1 reply
-
have you checked out usFormContext and FormProvider? https://react-hook-form.com/docs/formprovider |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
If I have a tree of components that are meant to be responsible for different parts of my form "graph", is there any special technique I can use when drilling the
register
function around?I'm trying to think of the best way to explain this in terms that won't get mixed up and are easy to pick up, so I'll just use an example where I hack it together with currying:
Is there a proper "in-support" way of accomplishing this so that I'm not having to drill and manipulate my parent names down into child components?
Beta Was this translation helpful? Give feedback.
All reactions