-
-
Notifications
You must be signed in to change notification settings - Fork 417
Closed
Labels
🎁 Rewarded on IssuehuntThis issue has been rewarded on IssuehuntThis issue has been rewarded on Issuehunthelp wantednew rule
Description
There is a superior pattern for class field declarations that can declutter constructors (often making them totally unnecessary.) The feature is still considered experimental but it works out of the box with babel.
Fail:
class Foo {
constructor() {
this.foo = 'foo';
}
}
Pass:
class Foo {
foo = 'foo';
}
IssueHunt Summary
frsgit has been rewarded.
Backers (Total: $30.00)
fregante ($30.00)
Submitted pull Requests
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
tinovyatkin, xlaywan, BridgeAR, EvgenyOrekhov, fregante and 5 more
Metadata
Metadata
Assignees
Labels
🎁 Rewarded on IssuehuntThis issue has been rewarded on IssuehuntThis issue has been rewarded on Issuehunthelp wantednew rule