useFormStatus

A React DOM hook that tells a component inside a form whether that form is currently submitting.

In more detail

It must be called in a component rendered inside the form, such as a SubmitButton. The button can then disable itself without props being passed down.

Related terms

Taught in

References