2 ms·
No, it's not addressed. And you can see me using class fields already in `x = () => ...` <- this is a class field (I called it class property, sorry). The fact
by dmitriid 8y ago
No, it's not addressed. And you can see me using class fields already in `x = () => ...` <- this is a class field (I called it class property, sorry).
The fact that arrow functions declared as class fields get access to the proper `this` in the class instance is just a happy(?) coincidence with its own downsides. For example, class fields can't be inherited in the child class. So this adds a yet another layer of confusion for devs.
And as you see in the example at the link you provided, you still need to `.bind(this)` the actual methods.