Skip to content

Commit

Permalink
Merge pull request jsx-eslint#910 from Wilfred/patch-3
Browse files Browse the repository at this point in the history
Minor grammar fix
  • Loading branch information
ljharb authored Oct 14, 2016
2 parents 798f2ca + 4a05b6f commit 00553b5
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 00553b5

Please sign in to comment.