Skip to content

Commit eb900bb

Browse files
authored
Merge pull request #9 from shermanhui/patch-2
Update README.md
2 parents ab9a1ad + 7ed4674 commit eb900bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class MenuItem {
8888
}
8989
```
9090

91-
## Reflect expected result
91+
## Reflect the expected result
9292

9393
A name should reflect the expected result.
9494

@@ -123,7 +123,7 @@ Take a look at how this pattern may be applied in the table below.
123123
| `handleClickOutside` | | `handle` | `Click` | `Outside` |
124124
| `shouldDisplayMessage` | `should` | `Display` | `Message` | |
125125

126-
> **Note:** The order of context affects the meaning of a variable. For example, `shouldUpdateComponent` means _you_ are about to update a component, while `shouldComponentUpdate` tells you that _component_ will update on itself, and you are but controlling whether it should do that right now.
126+
> **Note:** The order of context affects the meaning of a variable. For example, `shouldUpdateComponent` means _you_ are about to update a component, while `shouldComponentUpdate` tells you that _component_ will update on itself, and you are but controlling when it should be updated.
127127
> In other words, **high context emphasizes the meaning of a variable**.
128128
129129
---
@@ -179,7 +179,7 @@ console.log(fruits) // 5
179179

180180
### `fetch`
181181

182-
Requests for a data, which takes time (i.e. async request).
182+
Request for some data, which takes some indeterminate time (i.e. async request).
183183

184184
```js
185185
function fetchPosts(postCount) {
@@ -309,11 +309,11 @@ function shouldUpdateUrl(url, expectedUrl) {
309309

310310
### `min`/`max`
311311

312-
Represent minimum or maximum value. Used when describing boundaries or limits.
312+
Represents a minimum or maximum value. Used when describing boundaries or limits.
313313

314314
```js
315315
/**
316-
* Renders random amount of posts within
316+
* Renders a random amount of posts within
317317
* the given min/max boundaries.
318318
*/
319319
function renderPosts(posts, minPosts, maxPosts) {

0 commit comments

Comments
 (0)