> Updates on class-field proposals (both public and private) Champions: @jeffmo (public class fields) @littledan (private + combined) Spec Repo: https://github.com/littledan/proposal-class-fields/ Spec Text: https://littledan.github.io/proposal-class-fields/ Slides: https://drive.google.com/file/d/0B-TAClBGyqSxWHpyYmg2UnRHc28/view > Remember that proposals are just that; subject to change until Stage 4! ## Examples ```js class C { static x = 1, #y, [a]; z, #w = 2, [b]; a() { this.z; this.#w++; #w; // #w is this.#w } } ``` ## Parsing/ESTree - [x] AST handled already in current `classProperties` and `classPrivateProperties`. - [ ] May need to rename though (new plugin name). - [ ] make sure no "private computed" parse - [ ] need to support comma separated properties. ## Transform - [ ] combine the class-properties plugin + tbd private properties one ## Contacts - [#proposal-class-fields](https://babeljs.slack.com/messages/proposal-class-fields) on Slack! - @littledan - @diervo (dval on Slack) - @Qantas94Heavy
Champions: @jeffmo (public class fields) @littledan (private + combined)
Spec Repo: https://github.com/littledan/proposal-class-fields/
Spec Text: https://littledan.github.io/proposal-class-fields/
Slides: https://drive.google.com/file/d/0B-TAClBGyqSxWHpyYmg2UnRHc28/view
Examples
Parsing/ESTree
classPropertiesandclassPrivateProperties.Transform
Contacts