Merge pull request #3336 from facebook/cpojer-patch-1

Fix documentation typo in ReactComponent
This commit is contained in:
Ben Alpert 2015-03-06 10:07:45 -08:00
commit b95ad296da
1 changed files with 1 additions and 1 deletions

View File

@ -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.