mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #3336 from facebook/cpojer-patch-1
Fix documentation typo in ReactComponent
This commit is contained in:
@@ -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
|
* 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.
|
* 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`.
|
* `componentWillUpdate` and `componentDidUpdate`.
|
||||||
*
|
*
|
||||||
* @param {?function} callback Called after update is complete.
|
* @param {?function} callback Called after update is complete.
|
||||||
|
|||||||
Reference in New Issue
Block a user