Skip to content

Commit

Permalink
Merge pull request #99 from morenoh149/patch-1
Browse files Browse the repository at this point in the history
Update no-did-mount-set-state documentation
  • Loading branch information
yannickcr committed Jun 10, 2015
2 parents 837d0ad + c39bab5 commit eebb1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-did-mount-set-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Updating the state after a component mount will trigger a second `render()` call

## Rule Details

This rule is aimed to forbids the use of `this.setState` in `componentDidMount`.
This rule is aimed to forbid the use of `this.setState` in `componentDidMount`.

The following patterns are considered warnings:

Expand Down

0 comments on commit eebb1d9

Please sign in to comment.