Rationale for dropping ModuleImport syntax?

Axel Rauschmayer axel at rauschma.de
Mon Jun 9 08:27:05 PDT 2014

> As an aside, it is yet to be seen whether the "default" export thing is the best way, or the bad part itself.  We don't have the real world experience yet to answer that.

I’d even argue that they led to the predicament that we are currently in.

If the default export didn’t look like “the module”, things would, in my opinion, be easier to understand:

import _ from "Underscore";
import { flatten, union } from "Underscore";
import default someFunction from "single_function_module";

Dr. Axel Rauschmayer
axel at rauschma.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140609/05a80256/attachment-0001.html>

More information about the es-discuss mailing list