Clarify componentWillMount behavior

This commit is contained in:
Nick Thompson 2014-01-17 12:44:21 -08:00
parent 2562813c63
commit c2d57dff4b
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ Various methods are executed at specific points in a component's lifecycle.
componentWillMount()
```
Invoked immediately before rendering occurs. If you call `setState` within this method, `render()` will see the updated state and will be executed only once despite the state change.
Invoked once, immediately before the initial rendering occurs. If you call `setState` within this method, `render()` will see the updated state and will be executed only once despite the state change.
### Mounting: componentDidMount