Re: [w3ctag/design-reviews] JavaScript Decorators (#314)

The TAG believes this is a very compelling and useful feature for web developers.

It allows adding metadata close to what it relates to instead of elsewhere. 

An example is the Polymer static `properties` getter which returns JSON explaining how properties and attributes reflect and serialize. 

Having that meta data close to the related property/class field will improve the developer experience for working with web components and the like. We already see a lot of adoption of decorators via TypeScript, for instance in Angular, and it is our experience that web developers are very happy with the feature.

We hope TC39 or others can provide additional info to help explain to web developers, web component developers and web specification developers how best to use this features.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/314#issuecomment-434643804

Received on Wednesday, 31 October 2018 10:55:34 UTC