Skip to content

Commit

Permalink
Add shouldComponentUpdate to list of methods double called in Strict …
Browse files Browse the repository at this point in the history
…Mode

This landed in 16.13 via facebook/react#17942
  • Loading branch information
Sunil Pai authored Mar 4, 2020
1 parent a9ab627 commit 2d7c6c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/docs/strict-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
>
Expand Down

0 comments on commit 2d7c6c3

Please sign in to comment.