Skip to content

Commit 2e2753a

Browse files
authored
Fix a typo
The infinitive form should be used.
1 parent c4578b6 commit 2e2753a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/chapter-5/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class App extends React.Component {
1414
};
1515
```
1616

17-
The result of this code is an input element that we can focus but can't change. It is never updated because we have a single source of truth - the `App`'s component state. To make the input works as expected we have to add an `onChange` handler and update the state (the single source of truth). Which will trigger a new rendering cycle and we will see what we typed.
17+
The result of this code is an input element that we can focus but can't change. It is never updated because we have a single source of truth - the `App`'s component state. To make the input work as expected we have to add an `onChange` handler and update the state (the single source of truth). Which will trigger a new rendering cycle and we will see what we typed.
1818

1919
<span class="new-page"></span>
2020

0 commit comments

Comments
 (0)