From 70f159351665fdb6e2c76672d4168ed9716ce612 Mon Sep 17 00:00:00 2001 From: Nick Thompson Date: Fri, 17 Jan 2014 12:44:21 -0800 Subject: [PATCH] Clarify componentWillMount behavior --- docs/ref-03-component-specs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref-03-component-specs.md b/docs/ref-03-component-specs.md index 9861f48a..7fe23818 100644 --- a/docs/ref-03-component-specs.md +++ b/docs/ref-03-component-specs.md @@ -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