Domenic Denicola domenic at
Wed Jun 25 08:41:48 PDT 2014

From: es-discuss <es-discuss-bounces at> on behalf of Calvin Metcalf <calvin.metcalf at>

> the payoff is decoupling how something is imported from how something is exported.

+1. Although I am uneasy about the default-default export idea, since it has [several edge cases][1] that make it seem too messy for a language-level feature, it does fix the major problem of encapsulation breakage that the current design introduces. Having to know how the module author wrote their code, and using the correct import form based on that, is frustrating and a regression from current CommonJS/AMD module usability.


More information about the es-discuss mailing list