On 22 Jul 2014 00:30, "Calvin Metcalf" <calvin.metc...@gmail.com> wrote:
>
> Wasn't the original issue single exports and their demonstrated utility
in node and AMD?

Default can be used with named exports, and therefore does not indicate
that a module is single export. And you can make a single export module by
exporting a single named export. Therefore there is no correlation between
default and single exporting modules.

The default import is a useful syntactic sugar, but the default export does
not map well with it, especially because rather than saving keystrokes it
is (potentially) longer to use than a named export.

Marius Gundersen
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to