mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +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
|
||||
* 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.
|
||||
|
||||
Reference in New Issue
Block a user