Glossary: Next.js Beyond the Basics
useFormStatus
A hook from react-dom that tells a component inside a form whether it is being sent. SubmitButton uses its pending flag to disable itself.
Glossary: Next.js Beyond the Basics
A hook from react-dom that tells a component inside a form whether it is being sent. SubmitButton uses its pending flag to disable itself.