4 ms·
You'll be able to do that with System.import, kind of. It's async, and it returns a promise, which is sensible but it makes code a bit more complicated. The EC
by colinramsay 10y ago
You'll be able to do that with System.import, kind of. It's async, and it returns a promise, which is sensible but it makes code a bit more complicated.
The ECMAScript wiki appears to be down but this polyfill has a good overview:
https://github.com/ModuleLoader/es6-module-loader https://github.com/ModuleLoader/es6-module-loader