mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
fix tiny typo on concurrent docs (#2465)
This commit is contained in:
@@ -183,7 +183,7 @@ function App() {
|
||||
It took us only seven lines of code to add this transition:
|
||||
|
||||
* We've imported the `useTransition` Hook and used it the component that updates the state.
|
||||
* We've passed `{timeoutMs: 3000}` to stay on the previous screeen for at most 3 seconds.
|
||||
* We've passed `{timeoutMs: 3000}` to stay on the previous screen for at most 3 seconds.
|
||||
* We've wrapped our state update into `startTransition` to tell React it's okay to delay it.
|
||||
* We're using `isPending` to communicate the state transition progress to the user.
|
||||
|
||||
@@ -919,4 +919,4 @@ Keep in mind that `<SuspenseList>` is composable, like anything in React. For ex
|
||||
|
||||
Concurrent Mode offers a powerful UI programming model and a set of new composable primitives to help you orchestrate delightful user experiences.
|
||||
|
||||
It's a result of several years of research and development, but it's not finished. In the section on [adopting Concurrent Mode](/docs/concurrent-mode-adoption.html), we'll describe how you can try it and what you can expect.
|
||||
It's a result of several years of research and development, but it's not finished. In the section on [adopting Concurrent Mode](/docs/concurrent-mode-adoption.html), we'll describe how you can try it and what you can expect.
|
||||
|
||||
Reference in New Issue
Block a user