pending state

The in-between state while asynchronous work, such as a transition or form submission, has started but not finished.

In more detail

useTransition and useActionState provide isPending automatically, so you no longer have to keep your own isLoading boolean in sync. Use it to disable buttons or show a spinner, dimmed content or skeleton.

Related terms

Taught in

References