Are ES6 modules in browsers going to get loaded level-by-level?
brendan at mozilla.org
Thu Apr 23 23:48:33 UTC 2015
James Burke wrote:
> It is kind of sad that to use ES modules means to actually not really
> use them at runtime, to transpile back to ES5-level of code, and
> needing to ship a bootstrap loader script that allows slotting that
> the ES5-level code into the ES loader. For the extra script and
> transpiling concerns, it does not seem like an improvement over an
> existing ES5-based module systems.
Your lament poses a question that answers itself: in time, ES6 will be
the base level, not ES3 or ES5. Then, the loader can be nativized.
Complaining about this now seems churlish. :-|
More information about the es-discuss