Fix documentation typo in ReactComponent
This commit is contained in:
parent
c7c2e05c33
commit
419038f846
|
@ -77,7 +77,7 @@ ReactComponent.prototype.setState = function(partialState, callback) {
|
|||
* You may want to call this when you know that some deeper aspect of the
|
||||
* component's state has changed but `setState` was not called.
|
||||
*
|
||||
* This will not invoke `shouldUpdateComponent`, but it will invoke
|
||||
* This will not invoke `shouldComponentUpdate`, but it will invoke
|
||||
* `componentWillUpdate` and `componentDidUpdate`.
|
||||
*
|
||||
* @param {?function} callback Called after update is complete.
|
||||
|
|
Loading…
Reference in New Issue