3 ms·
It’s not just React-specific. I was correct: the proposal does exactly nothing to make sure class methods are bound to class instances. handleClick = () => {
by dmitriid 9y ago
It’s not just React-specific. I was correct: the proposal does exactly nothing to make sure class methods are bound to class instances.
handleClick = () => {...}
This is a shitty workaround that abuses class fields and arrow functions