In JSX, what is the difference between this
<div onClick={this.someFunction} />
and
<div onClick={() => this.someFunction()} />
and also, when is one recommended over the other in an onClick
event?
I have had a look at this but it is not answering my question really.