Document useForm -> onSubmit hook #552
ivan-kleshnin
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Arguments of
onSubmit
fn argument ofuseForm
are not documented. For people who don't use React actions (use client-only forms)onSubmit
becomes a crucial piece.From my quick experiments:
^ A pretty complex object, we shouldn't guess it's structure. Here's what I ended-up with:
Beta Was this translation helpful? Give feedback.
All reactions