useFormStatus reads the pending state of the nearest parent form. A submit button in a child component can disable itself while its form submits.
The demo makes only one form pending while the neighboring form remains idle. Calling the hook in the component that renders the form itself does not read that form’s status.
When to use
Use it for reusable submit buttons or progress indicators nested inside forms.