From 2746927f563712d51d50c511ce550e5c55902e69 Mon Sep 17 00:00:00 2001 From: Jamie Dixon Date: Thu, 20 Feb 2020 06:00:38 +0000 Subject: [PATCH] Add the word 'a' to 'whole seven seconds' to complete sentence (#2757) --- content/docs/concurrent-mode-patterns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/concurrent-mode-patterns.md b/content/docs/concurrent-mode-patterns.md index 98ec083c..3f863e49 100644 --- a/content/docs/concurrent-mode-patterns.md +++ b/content/docs/concurrent-mode-patterns.md @@ -507,7 +507,7 @@ function ProfileTrivia({ resource }) { **[Try it on CodeSandbox](https://codesandbox.io/s/focused-mountain-uhkzg)** -If you press "Open Profile" now, you can tell something is wrong. It takes whole seven seconds to make the transition now! This is because our trivia API is too slow. Let's say we can't make the API faster. How can we improve the user experience with this constraint? +If you press "Open Profile" now, you can tell something is wrong. It takes a whole seven seconds to make the transition now! This is because our trivia API is too slow. Let's say we can't make the API faster. How can we improve the user experience with this constraint? If we don't want to stay in the Pending state for too long, our first instinct might be to set `timeoutMs` in `useTransition` to something smaller, like `3000`. You can try this [here](https://codesandbox.io/s/practical-kowalevski-kpjg4). This lets us escape the prolonged Pending state, but we still don't have anything useful to show!