When we dont use prevstate, the code is like this:
state = { count: 0 } updateCount = () => { this.setState({ count: this.state.count + 1}); \\\\count =