Add shouldComponentUpdate to list of methods double called in Strict Mode (#2810)

This landed in 16.13 via https://github.com/facebook/react/pull/17942
This commit is contained in:
Sunil Pai
2020-03-04 12:34:58 +00:00
committed by GitHub
parent a9ab627e09
commit 60d83be9be

View File

@@ -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:
>