Setstate curriculum

What is the difference between
this.setState({visibility:!this.state.visibility})
and this:

this.setState(state=>({visibility:!state.visibility}))