Reference
useFormStatus
Returns the current form submission status for the nearest form action.
Signature
function useFormStatus(): FormStatusReference
Returns the current form submission status for the nearest form action.
function useFormStatus(): FormStatus