setState() and prevState

setState() and prevState