How do useFormStatus, useActionState, useTransition, and useOptimistic help while a Server Action runs?
The answer
Answer it out loud first, the way you would in the interview. Then compare.
Checking your sign-in…