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.
componentDidMount
componentDidUpdate
1 parent 75fccc6 commit f071cc9Copy full SHA for f071cc9
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