Created
September 8, 2021 06:45
-
-
Save Frodigo/f54531b4838c8964781a40925828fb55 to your computer and use it in GitHub Desktop.
state
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// What's wrong with that code? | |
this.setState({ | |
counter: this.state.counter + this.props.increment, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment