But apparently they are not recommended…
Lorenzo Sciandra
1

This was a valid concern and one that caused me to stop using them for a while, however decorators have since made it to to Stage 2 of TC39 proposal process and the syntax remains unchanged. At Stage 2 all major syntax changes are covered, Stage 2 of the TC39 proposal process states:

all major semantics, syntax and API are covered, but TODOs, placeholders and editorial issues are expected

Decorator proposal as of today: https://tc39.github.io/proposal-decorators/#sec-syntax

TC39 stages explained: https://tc39.github.io/process-document/

Like what you read? Give Josh J a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.