We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 75fccc6 + f071cc9 commit 2a3187fCopy full SHA for 2a3187f
docs/rules/no-did-update-set-state.md
@@ -1,4 +1,4 @@
1
-# Prevent usage of setState in componentDidMount (no-did-update-set-state)
+# Prevent usage of setState in componentDidUpdate (no-did-update-set-state)
2
3
Updating the state after a component update will trigger a second `render()` call and can lead to property/layout thrashing.
4
0 commit comments