We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2739d5 commit 996378cCopy full SHA for 996378c
src/content/reference/react/useTransition.md
@@ -1717,7 +1717,7 @@ startTransition(async () => {
1717
```js
1718
startTransition(async () => {
1719
await someAsyncFunction();
1720
- // ✅ 在 startTransition **之后** 再 await
+ // ✅ 在 await 之后 调用 startTransition
1721
startTransition(() => {
1722
setPage('/about');
1723
});
0 commit comments