From 419038f84602d75394f9983a899fd2ddf5ab06c5 Mon Sep 17 00:00:00 2001 From: Christoph Pojer Date: Fri, 6 Mar 2015 01:33:56 -0800 Subject: [PATCH] Fix documentation typo in ReactComponent --- src/modern/class/ReactComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modern/class/ReactComponent.js b/src/modern/class/ReactComponent.js index a3e38f0c6c..e502bffd12 100644 --- a/src/modern/class/ReactComponent.js +++ b/src/modern/class/ReactComponent.js @@ -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.