From 5695141436e44fdd73182c4699892c8cf5188e1c Mon Sep 17 00:00:00 2001 From: eunnn Date: Wed, 2 Dec 2026 11:30:07 +0900 Subject: [PATCH 1/2] docs: translate note about awaiting action prop in useTransition --- src/content/reference/react/useTransition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react/useTransition.md b/src/content/reference/react/useTransition.md index 698ebdbf1..6141499ce 100644 --- a/src/content/reference/react/useTransition.md +++ b/src/content/reference/react/useTransition.md @@ -748,7 +748,7 @@ b { display: inline-block; margin-right: 10px; } -When exposing an `action` prop from a component, you should `await` it inside the transition. +컴포넌트가 `action` prop을 전달받을 때는 Transition 내부에서 이를 `await` 해야 합니다. 이렇게 하면 `action` 콜백이 동기적이든 비동기적이든 상관없이 작동할 수 있으며, `action` 내부의 `await`을 추가적인 `startTransition`으로 감쌀 필요가 없습니다. From 353b6b16ce76523eb1a7847d7c2727190f05013f Mon Sep 17 00:00:00 2001 From: eunnn Date: Wed, 2 Dec 2026 12:17:10 +0900 Subject: [PATCH 2/2] docs: update example text for useActionState execution order --- src/content/reference/react/useTransition.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/reference/react/useTransition.md b/src/content/reference/react/useTransition.md index 6141499ce..ca5194ee4 100644 --- a/src/content/reference/react/useTransition.md +++ b/src/content/reference/react/useTransition.md @@ -1955,7 +1955,7 @@ export async function updateQuantity(newName) { 이것은 예상된 동작입니다. Transition 내에서의 액션은 실행 순서를 보장하지 않기 때문입니다. 일반적인 사용 사례에서는 React가 [`useActionState`](/reference/react/useActionState)나 [`
` actions](/reference/react-dom/components/form)과 같은 더 높은 수준의 추상화를 제공하여 순서를 처리해 줍니다. 고급 사용 사례에서는 이 문제를 처리하기 위해 자체적인 큐잉(queuing) 및 취소 로직을 구현해야 합니다. -Example of `useActionState` handling execution order: +`useActionState`로 실행 순서를 처리하는 예시입니다.