From 1b69e165d464b33ca40e986e46c76adf9b6e40d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=9F?= Date: Thu, 15 Oct 2026 21:01:10 +0900 Subject: [PATCH] docs: clarify that Transition Actions can be asynchronous --- 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 6533a201bf3..9c64d0900dd 100644 --- a/src/content/reference/react/useTransition.md +++ b/src/content/reference/react/useTransition.md @@ -1684,7 +1684,7 @@ startTransition(() => { }); ``` -The function you pass to `startTransition` must be synchronous. You can't mark an update as a Transition like this: +The Action you pass to `startTransition` can be asynchronous. However, state updates scheduled in a `setTimeout` callback are not marked as Transitions, because the callback runs after the `startTransition` call has finished: ```js startTransition(() => {