Skip to content

Commit 8c750a9

Browse files
author
harish-sethuraman
authored
Fix typo (#4021)
1 parent 926dbee commit 8c750a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

beta/src/pages/learn/queueing-a-series-of-state-updates.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ setNumber(0 + 1);
5555
setNumber(0 + 1);
5656
```
5757

58-
But there is one other factor at work here to discuss. **React waits until *all* code in the the event handlers has run before processing your state updates.** This is why the re-render only happens *after* all these `setNumber()` calls.
58+
But there is one other factor at work here to discuss. **React waits until *all* code in the event handlers has run before processing your state updates.** This is why the re-render only happens *after* all these `setNumber()` calls.
5959

6060
This might remind you of a waiter taking an order at the restaurant. A waiter doesn't run to the kitchen at the mention of your first dish! Instead, they let you finish your order, let you make changes to it, and even take orders from other people at the table.
6161

beta/src/pages/learn/start-a-new-react-project.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ npm start
4444

4545
</TerminalBlock>
4646

47-
For more information, [check out the the official guide](https://create-react-app.dev/docs/getting-started).
47+
For more information, [check out the official guide](https://create-react-app.dev/docs/getting-started).
4848

4949
> Create React App doesn't handle backend logic or databases; it just creates a frontend build pipeline. This means you can use it with any backend you want. But if you're looking for more features like routing and server-side logic, read on!
5050

0 commit comments

Comments
 (0)