Join Slack
Powered by
it says that `setState({ value: this.props.val1 + ...
# javascript
g
gbaldeck
05/03/2017, 8:03 PM
it says that
setState({ value: this.props.val1 + this.state.val2})
is unsafe to use because state is updated asynchronously
3
Views
Open in Slack
Previous
Next