You are viewing a single comment's thread from:
RE: Differences in Defining ES6 Class Methods
I still use fat arrows quite often for React components, to be honest. You just need to be aware that you'll get problems when extending that class.
I still use fat arrows quite often for React components, to be honest. You just need to be aware that you'll get problems when extending that class.
Oh, I use fat arrow functions all the time! Just not in conjunction with class properties. Inside methods, for callbacks and in promises for example they are great.