You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/ref-08-reconciliation.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ After the attributes have been updated, we recurse on all the children.
76
76
77
77
### Custom Components
78
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
80
81
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.
0 commit comments