You can not bind arrow function
They automatically get what called lexical scoping - which mean, they bind "this" context to the place where they were defined in the first place
It's easier to write class method by using arrow function, so you can stop worry about bind "this"
It's easier to write class method by using arrow function, so you can stop worry about bind "this"
Comments
Post a Comment