Skip to content
2 changes: 1 addition & 1 deletion docs/docs/reference-react-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ componentWillReceiveProps(nextProps)

Note that React may call this method even if the props have not changed, so make sure to compare the current and next values if you only want to handle changes. This may occur when the parent component causes your component to re-render.

`componentWillReceiveProps()` is not invoked if you just call `this.setState()`
React doesn't call `componentWillReceiveProps` with initial props during [mounting](#mounting). It only calls this method if some of component's props may update. Calling `this.setState` generally doesn't trigger `componentWillReceiveProps`.

* * *

Expand Down