-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Looking through your code I see places where you can use the following ES6 features:
- Shortened method definitions
- Arrow functions (if not for issues around
this, at least for more concise code) - Block-scoped variables:
constandlet. Note: Useconstexcept when you absolutely needlet. - Classes: React offers the React.Component parent class. Warning: After you switch to classes
thisis no longer automatically bound! Read up on this with regards to React "autobinding." - Rest/spread: You can use this at least in the context of passing down state/props, if not elsewhere.
- Module exports
Optional: Destructuring.
Metadata
Metadata
Assignees
Labels
No labels