@samitouri / QOS-React-2 / commits / 419038f846

Fix documentation typo in ReactComponent

Christoph Pojer committed Mar 6, 2015 at 01:33 UTC 419038f84602d75394f9983a899fd2ddf5ab06c5
1 file changed +1 -1
src/modern/class/ReactComponent.js
+1 -1
@@ -77,7 +77,7 @@ ReactComponent.prototype.setState = function(partialState, callback) {
77 * You may want to call this when you know that some deeper aspect of the
78 * component's state has changed but `setState` was not called.
79 *
80 - * This will not invoke `shouldUpdateComponent`, but it will invoke
80 + * This will not invoke `shouldComponentUpdate`, but it will invoke
81 * `componentWillUpdate` and `componentDidUpdate`.
82 *
83 * @param {?function} callback Called after update is complete.