Fix documentation typo in ReactComponent

This commit is contained in:
Christoph Pojer 2015-03-06 01:33:56 -08:00
parent c7c2e05c33
commit 419038f846
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.