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 5aa4470 + d414bb7 commit a80cf0cCopy full SHA for a80cf0c
docs/rules/no-will-update-set-state.md
@@ -63,7 +63,7 @@ The following patterns are considered warnings:
63
64
```jsx
65
var Hello = createReactClass({
66
- componentDidUpdate: function() {
+ componentWillUpdate: function() {
67
this.setState({
68
name: this.props.name.toUpperCase()
69
});
@@ -76,7 +76,7 @@ var Hello = createReactClass({
76
77
78
79
80
this.prepareHandler(function callback(newName) {
81
82
name: newName
0 commit comments