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.
1 parent 29cd473 commit 73e8a61Copy full SHA for 73e8a61
src/Example.js
@@ -13,7 +13,7 @@ class Example extends React.Component {
13
UNSAFE_componentWillMount() {
14
console.log('WillMountCount before is: ' + this.state.count);
15
this.setState({
16
- count: 2
+ count: 1
17
});
18
console.log('WillMountCount after is: ' + this.state.count);
19
}
0 commit comments