From 7270ea2ab4d383aea75e077305e2de87a492c13b Mon Sep 17 00:00:00 2001 From: Samiksha P Date: Thu, 15 Jan 2026 16:25:01 +0530 Subject: [PATCH] docs: Capitalize Action in useActionState docs --- src/content/reference/react/useActionState.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/reference/react/useActionState.md b/src/content/reference/react/useActionState.md index f83f6bdc710..bed77fff27e 100644 --- a/src/content/reference/react/useActionState.md +++ b/src/content/reference/react/useActionState.md @@ -4,7 +4,7 @@ title: useActionState -`useActionState` is a Hook that allows you to update state based on the result of a form action. +`useActionState` is a Hook that allows you to update state based on the result of a form Action. ```js const [state, formAction, isPending] = useActionState(fn, initialState, permalink?); @@ -29,7 +29,7 @@ In earlier React Canary versions, this API was part of React DOM and called `use {/* TODO T164397693: link to actions documentation once it exists */} -Call `useActionState` at the top level of your component to create component state that is updated [when a form action is invoked](/reference/react-dom/components/form). You pass `useActionState` an existing form action function as well as an initial state, and it returns a new action that you use in your form, along with the latest form state and whether the Action is still pending. The latest form state is also passed to the function that you provided. +Call `useActionState` at the top level of your component to create component state that is updated [when a form Action is invoked](/reference/react-dom/components/form). You pass `useActionState` an existing form action function as well as an initial state, and it returns a new action that you use in your form, along with the latest form state and whether the Action is still pending. The latest form state is also passed to the function that you provided. ```js import { useActionState } from "react";