Browse Source

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
main
Sunil Pai 5 years ago
committed by GitHub
parent
commit
60d83be9be
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      content/docs/strict-mode.md

1
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 * The `render` method
* `setState` updater functions (the first argument) * `setState` updater functions (the first argument)
* The static `getDerivedStateFromProps` lifecycle * The static `getDerivedStateFromProps` lifecycle
* The `shouldComponentUpdate` method
> Note: > Note:
> >

Loading…
Cancel
Save