3 ms·
Seems like: export default class ... would be the clearest and least bug-prone and satisfies the "no extra closures" complaint. Considering you're buying in
by curun1r 11y ago
Seems like:
export default class ...
would be the clearest and least bug-prone and satisfies the "no extra closures" complaint. Considering you're buying into other ES6isms, why not use that one too?
- keithwhor 11y agoWill definitely be changing the module system to ES6 in the future. For now I prefer this pattern. :)