Skip to content

Commit 542f20b

Browse files
nick-thompsonvjeux
authored andcommitted
Clarify componentWillMount behavior
1 parent 30e16e4 commit 542f20b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/ref-03-component-specs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Various methods are executed at specific points in a component's lifecycle.
8787
componentWillMount()
8888
```
8989

90-
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.
90+
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.
9191

9292

9393
### Mounting: componentDidMount

0 commit comments

Comments
 (0)