Skip to content

What is the best practice to submit a form the parent component? #2966

Answered by bluebill1049
sunnyone asked this question in Q&A
Discussion options

You must be logged in to vote

useForm probably should be at the parent level, and then you can pass down props to your child.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sunnyone
Comment options

@bluebill1049
Comment options

@wutzebaer
Comment options

Answer selected by sunnyone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants