You can use the React useFormStatus hook to show a pending state while the form is being submitted
This form will simulate a slow network (1 second) and disable the submit button while the form is being submitted