From d185c6b16214acadfb7fc877ff164647d27f03c2 Mon Sep 17 00:00:00 2001 From: goat <1211928420@qq.com> Date: Sat, 16 May 2026 10:05:36 +0800 Subject: [PATCH] docs: capitalize React Actions references --- src/content/learn/rsc-sandbox-test.md | 12 ++++++------ src/content/reference/react/hooks.md | 2 +- src/content/reference/react/useActionState.md | 8 ++++---- src/content/reference/react/useTransition.md | 6 +++--- src/content/reference/rsc/server-functions.md | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/content/learn/rsc-sandbox-test.md b/src/content/learn/rsc-sandbox-test.md index f914ea4ae3f..76f31014b22 100644 --- a/src/content/learn/rsc-sandbox-test.md +++ b/src/content/learn/rsc-sandbox-test.md @@ -286,7 +286,7 @@ export default function UserCard({ userPromise, serverTime }) { ## Flight Data Types in Server Actions {/*flight-data-types-actions*/} -This demo sends Map, Set, Date, and BigInt from a client component *to* a server action via `encodeReply`/`decodeReply`, then verifies the types survived the round trip. +This demo sends Map, Set, Date, and BigInt from a client component *to* a Server Action via `encodeReply`/`decodeReply`, then verifies the types survived the round trip. @@ -310,7 +310,7 @@ export default async function App() { ))} ) : ( -

Click the button to send typed data to the server action.

+

Click the button to send typed data to the Server Action.

)} ); @@ -390,7 +390,7 @@ export default function TestButton({ testTypes }) { ## Server Action Mutation + Re-render {/*action-mutation-rerender*/} -The server action mutates server-side data and returns a confirmation string. The updated list is only visible because the framework automatically re-renders the entire server component tree after the action completes — the server component re-reads the data and streams the new UI to the client. +The Server Action mutates server-side data and returns a confirmation string. The updated list is only visible because the framework automatically re-renders the entire server component tree after the Action completes — the server component re-reads the data and streams the new UI to the client. @@ -407,7 +407,7 @@ export default function App() {

This list is rendered by a server component reading server-side data. It only updates because - the server re-renders after each action. + the server re-renders after each Action.