Skip to content

Glossary: Next.js Beyond the Basics

useActionState

A React hook that connects a form to an action and returns [state, formAction, isPending]. The action gets the previous state and the form data and returns the new state.

Where the book teaches it

Related terms

FormStateuseFormStatusServer action