From 866b2ad510dbc77e9173f9a67ec1c5465ef335a7 Mon Sep 17 00:00:00 2001 From: Jim Date: Fri, 4 Mar 2016 07:58:00 -0800 Subject: [PATCH] Fixed typo in reconciliation docs. --- docs/ref-08-reconciliation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref-08-reconciliation.md b/docs/ref-08-reconciliation.md index a249add2..aefd2edf 100644 --- a/docs/ref-08-reconciliation.md +++ b/docs/ref-08-reconciliation.md @@ -76,7 +76,7 @@ After the attributes have been updated, we recurse on all the children. ### Custom Components -We decided that the two custom components are the same. Since components are stateful, we cannot just use the new component and call it a day. React takes all the attributes from the new component and calls `component[Will/Did]ReceiveProps()` on the previous one. +We decided that the two custom components are the same. Since components are stateful, we cannot just use the new component and call it a day. React takes all the attributes from the new component and calls `componentWillReceiveProps()` and `componentWillUpdate()` on the previous one. The previous component is now operational. Its `render()` method is called and the diff algorithm restarts with the new result and the previous result.