Can I use Decorators? - Phizzard/Reactbase-cms GitHub Wiki

Many popular libraries use decorators in their documentation. Create React App doesn’t support decorator syntax at the moment because:

  • It is an experimental proposal and is subject to change.
  • The current specification version is not officially supported by Babel.
  • If the specification changes, we won’t be able to write a codemod because we don’t use them internally at Facebook.

However in many cases you can rewrite decorator-based code without decorators just as fine. Please refer to these two threads for reference:

Create React App will add decorator support when the specification advances to a stable stage.