A new proposal has been posted on
https://github.com/devtools-html/rfcs
subject: Preferred method for adding static properties to components
link:
https://github.com/devtools-html/rfcs/issues/24
> I have created an AST transformer to change our ES5 classes to ES6.
>
> At the moment it adds static properties like this:
>
> ```
> class Font extends Component {
> ...
> }
>
> Font.displayName = "Font";
> etc.
> ```
>
> But we could keep all the static properties inside the class body like
this:
>
> ```
> class Font extends Component {
> static get displayName() {
> return "BoxModelMain"
> }
> ...
> }
> ```
>
> Which do you prefer? It makes sense for us to have a consensus before we
change
> a gazillion files.
Comment on the GitHub issue if you want to join the conversation!