Fixed typo in reconciliation docs.
Jim committed
Mar 4, 2016 at 07:58 UTC
0ba1073e174e02b3d5986647c86fdfa0bae58250
1 file changed
+1
-1
docs/docs/ref-08-reconciliation.md
+1
-1
@@ -76,7 +76,7 @@ After the attributes have been updated, we recurse on all the children.
76
77
### Custom Components
78
79
-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.
79
+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.
80
81
The previous component is now operational. Its `render()` method is called and the diff algorithm restarts with the new result and the previous result.
82