Skip to content

Commit 3119dd4

Browse files
Fix minor grammar mistakes (#5900)
* Fix minor grammar mistakes * Apply suggestions from code review --------- Co-authored-by: Sophie Alpert <[email protected]>
1 parent c85ce70 commit 3119dd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/learn/reacting-to-input-with-state.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Reacting to Input with State
44

55
<Intro>
66

7-
React uses a declarative way to manipulate the UI. Instead of manipulating individual pieces of the UI directly, you describe the different states that your component can be in, and switch between them in response to the user input. This is similar to how designers think about the UI.
7+
React provides a declarative way to manipulate the UI. Instead of manipulating individual pieces of the UI directly, you describe the different states that your component can be in, and switch between them in response to the user input. This is similar to how designers think about the UI.
88

99
</Intro>
1010

@@ -20,8 +20,8 @@ React uses a declarative way to manipulate the UI. Instead of manipulating indiv
2020

2121
When you design UI interactions, you probably think about how the UI *changes* in response to user actions. Consider a form that lets the user submit an answer:
2222

23-
* When you type something into a form, the "Submit" button **becomes enabled.**
24-
* When you press "Submit", both form and the button **become disabled,** and a spinner **appears.**
23+
* When you type something into the form, the "Submit" button **becomes enabled.**
24+
* When you press "Submit", both the form and the button **become disabled,** and a spinner **appears.**
2525
* If the network request succeeds, the form **gets hidden,** and the "Thank you" message **appears.**
2626
* If the network request fails, an error message **appears,** and the form **becomes enabled** again.
2727

0 commit comments

Comments
 (0)