Skip to content

Commit efc834b

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

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
@@ -573,7 +573,7 @@ export async function updateQuantity(newQuantity) {
573573

574574
</Sandpack>
575575

576-
这种解决方案会让应用显得卡顿,因为用户必须每次更新数量时都等待。虽然可以手动添加更复杂的处理逻辑来允许用户在更新数量时继续操作界面,但 React Actions 通过直观的内置 API 就能轻松处理这种情况。
576+
这种解决方案会让应用显得卡顿,因为用户必须每次更新数量时都等待。虽然可以手动添加更复杂的处理逻辑来允许用户在更新数量时继续操作界面,但 React Action 通过直观的内置 API 就能轻松处理这种情况。
577577

578578
<Solution />
579579

0 commit comments

Comments
 (0)