Where should decorators go? 1. Before module export keywords: @decoratorzz export default class Foo { } 2. After module export keywords: export default @decoratorzz class Foo { }
It matters if you think decorated source code is important for interop. So far that definitely seems to be true (people want to use Angular, Ember, Vue or React source with Webpack, Parcel or Roll-up without needing special modes for every combination)