Clarify componentWillMount behavior

This commit is contained in:
Nick Thompson
2014-01-17 12:44:21 -08:00
committed by Vjeux
parent 30e16e4e63
commit 542f20b822
+1 -1
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