[docs] Clarify when `getInitialState` is called.
Paul O’Shannessy committed
Nov 1, 2013 at 15:29 UTC
aedf580a333c42f5654d70359518974c3fdac7bc
1 file changed
+1
-1
docs/docs/ref-03-component-specs.md
+1
-1
@@ -31,7 +31,7 @@ The `render()` function should be *pure*, meaning that it does not modify compon
31
object getInitialState()
32
```
33
34
-Invoked once when the component is mounted. The return value will be used as the initial value of `this.state`.
34
+Invoked once before the component is mounted. The return value will be used as the initial value of `this.state`.
35
36
37
### getDefaultProps