Skip to content

Glossary: React Beyond the Basics

useActionState

A React hook that keeps a form action's result as state and returns [state, formAction, isPending]. The action receives (previousState, formData) and returns the next state.

Where the book teaches it

Related terms

form actionFormDatauseFormStatus