Skip to content

Commit

Permalink
Minor grammar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Oct 14, 2016
1 parent 798f2ca commit 4a05b6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/no-render-return-value.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ Source: [React Top-Level API documentation](http://facebook.github.io/react/docs

This rule will warn you if you try to use the `ReactDOM.render()` return value.

The following pattern is considered warning:
The following pattern is considered a warning:

```js
const inst = ReactDOM.render(<App />, document.body);
doSomethingWithInst(inst);
```

The following patterns are not considered warning:
The following patterns are not considered warnings:

```js
ReactDOM.render(<App ref={doSomethingWithInst} />, document.body);
Expand Down

0 comments on commit 4a05b6f

Please sign in to comment.