Skip to content

Commit ad84a45

Browse files
fix conflict
1 parent c3c2255 commit ad84a45

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/content/blog/2022/03/29/react-v18.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,7 @@ React 18 中的 Suspense 在与 Transition API 结合时效果最好。如果你
240240
241241
#### useTransition {/*usetransition*/}
242242

243-
<<<<<<< HEAD
244243
`useTransition``startTransition` 让你能够将一些状态更新标记为过渡更新。默认情况下,状态更新都被视为紧急更新。React 将允许紧急更新(例如,更新一个文本输入内容)打断过渡更新(例如,渲染一个搜索结果列表)。[参阅文档](/reference/react/useTransition)
245-
=======
246-
`useTransition` and `startTransition` let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results). [See docs here](/reference/react/useTransition).
247-
>>>>>>> 46437c2b12b14073d614b94befc012c21013327a
248244

249245
#### useDeferredValue {/*usedeferredvalue*/}
250246

0 commit comments

Comments
 (0)