Skip to content

Commit 7cf50ec

Browse files
HiWangyeahloveloki
andauthored
Update src/content/reference/react/useTransition.md
Co-authored-by: Xleine <xleine@qq.com>
1 parent 43a15a0 commit 7cf50ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useTransition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function CheckoutForm() {
165165

166166
为了向用户提供 Transition 进行中的反馈, `isPending` 状态会在首次调用 `startTransition` 时切换为 `true`,并会在所有 Action 完成且最终状态呈现给用户前一直保持为 `true`。Transition 机制确保 Action 中的副作用会完整执行以[避免不必要的加载指示](#preventing-unwanted-loading-indicators),同时你可以通过 `useOptimistic` 在 Transition 进行期间提供即时反馈。
167167

168-
<Recipes titleText="Actions 与常规事件处理的区别">
168+
<Recipes titleText="Action 与常规事件处理的区别">
169169

170170
#### 在 Action 中更新数量 {/*updating-the-quantity-in-an-action*/}
171171

0 commit comments

Comments
 (0)