score:3

Accepted answer
handleClick: function() {
  this.setState({fruit1: "apple", fruit2: "mango"});
}

score:0

this.setState((prevState,props) => {
 return {
           { counter: prevState.counter+1; }
        }

Related Query

More Query from same tag