In react arrow function return body is wrapped with parenthesis
this.setState((state)=>({
count:state.count+1
}))
but in the normal function, we wrapped return body with curly brases
this.setState((state)=>{
count:state.count+1
})
Can anyone tell me what is the difference between the two return body of function