From 88f0e136017daeee6af2f355b498c4506974cc7d Mon Sep 17 00:00:00 2001 From: zeref31 <88417235+zeref31@users.noreply.github.com> Date: Mon, 1 May 2023 11:46:03 +0530 Subject: [PATCH] Update 14_component_life_cycles.md wrong statement in the comment for the shouldComponentUpdate() method --- 14_Day_Component_Life_Cycles/14_component_life_cycles.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/14_Day_Component_Life_Cycles/14_component_life_cycles.md b/14_Day_Component_Life_Cycles/14_component_life_cycles.md index fb00594..b376937 100644 --- a/14_Day_Component_Life_Cycles/14_component_life_cycles.md +++ b/14_Day_Component_Life_Cycles/14_component_life_cycles.md @@ -427,7 +427,7 @@ class App extends Component { shouldComponentUpdate(nexProps, nextState) { console.log(nextProps, nextState) - // if the return is true, the application will never update. + // if the return is false, the application will never update. return true }