Was just wondering in Javascript, what's the difference between having two formats for class methods like so:
handleClick = (ev) => {
...
}
handleClick() {
...
}
Is there any difference at all aside from hoisting? Memory footprint, or scope, or performance?
This question is not about howto pass functions along as props in React. This specifically if I am planing to use my functions inside the class itself like this.calculateSomething();