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 c9a15fa commit 8e4b0bcCopy full SHA for 8e4b0bc
content/docs/concurrent-mode-patterns.md
@@ -193,7 +193,7 @@ function App() {
193
194
It took us only seven lines of code to add this transition:
195
196
-* We've imported the `useTransition` Hook and used it the component that updates the state.
+* We've imported the `useTransition` Hook and used it in the component that updates the state.
197
* We've passed `{timeoutMs: 3000}` to stay on the previous screen for at most 3 seconds.
198
* We've wrapped our state update into `startTransition` to tell React it's okay to delay it.
199
* We're using `isPending` to communicate the state transition progress to the user and to disable the button.
0 commit comments