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 56c4d58 commit d417c09Copy full SHA for d417c09
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