State management in React

What can be said about the React v17 code snippet given below?

 counter: this.state.counter + this.props.increment,
  1. The counter is updated successfully
  2. It may fail to update the counter
  3. this.state and this.props update synchronously
  4. Both Choice 1 and 3
  5. Both Choice 2 and 3

Related Posts