What's the difference between these two when setting a state?

What's the difference between:


setScore(score + 1)


and:


setScore((prevScore)=>prevScore+1) 




Link to content: Beginning ReactJS Foundations Building User Interfaces with ReactJS - Section 11