DEV Community

loading...

Discussion on: How to create a scalable vue.js setup (Part I)

Collapse
marcel_cremer profile image
Marcel Cremer Author

Hey there,

as you described, decorators are currently in proposal state for JavaScript (github.com/tc39/proposal-decorators) and experimental for typescript (typescriptlang.org/docs/handbook/d...). However, they are widely spread (like you mentioned: angular, react, mobx, ... - there are plenty of famous examples), so I personally think it's no question if, but only when they will arrive in ECMA standard.

Of course this is highly opinionated, but as they are so commonly used nowadays, I don't have bad feelings about using themπŸ˜‰

Also, depending on your configuration, it's possible that your transpiler (e.g. babel) transforms it on compile-time into standard javascript.

Cheers