Remix Validated Form

v6 is coming!

Check out the RFC to get an early look or leave a comment.

(formId?: string) => boolean

A hook that returns whether or not the current form valid.

The formId parameter allows you to use the hook outside a form.