From 2d7c6c33c2981fff2c152369c2fd08537549c947 Mon Sep 17 00:00:00 2001 From: Sunil Pai Date: Wed, 4 Mar 2020 12:29:09 +0000 Subject: [PATCH] Add shouldComponentUpdate to list of methods double called in Strict Mode This landed in 16.13 via https://github.com/facebook/react/pull/17942 --- content/docs/strict-mode.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/docs/strict-mode.md b/content/docs/strict-mode.md index 46233199e3d..0f48ba1613c 100644 --- a/content/docs/strict-mode.md +++ b/content/docs/strict-mode.md @@ -103,6 +103,7 @@ Strict mode can't automatically detect side effects for you, but it can help you * The `render` method * `setState` updater functions (the first argument) * The static `getDerivedStateFromProps` lifecycle +* The `shouldComponentUpdate` method > Note: >