@samitouri / QOS-React-2 / commits / c2d57dff4b

Clarify componentWillMount behavior

Nick Thompson committed Jan 17, 2014 at 12:44 UTC c2d57dff4b3e1183e2b8f4c9226834c645b05321
1 file changed +1 -1
docs/docs/ref-03-component-specs.md
+1 -1
@@ -87,7 +87,7 @@ Various methods are executed at specific points in a component's lifecycle.
87 componentWillMount()
88 ```
89
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.
91
92
93 ### Mounting: componentDidMount