You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry to disturb you. I think your resume template is helpful. However I just wondered why you do not use es6 which I think will make the code more clear...
The text was updated successfully, but these errors were encountered:
@GuoXiaoyang I am using ES6 aspects. Specifically, I am using const for variable declarations everywhere.
But I guess you're referring to using ES6 classes for React class creation?
I have been meaning to do this, just have not had the time to make the switch.
One thing I do not like about using ES6 classes to extend React.Component is that, we lose the auto-binding capability and we need to bind the context separately. I was initially hesitant to make this switch before and that is why I introduced create-react-class as a dependency, but now having seen a number of examples, I will switch to using arrow functions in method definitions.
Sorry to disturb you. I think your resume template is helpful. However I just wondered why you do not use es6 which I think will make the code more clear...
The text was updated successfully, but these errors were encountered: