I've stumbled upon some snippets similar to this one:
System.import('core-js').then( function() {
System.import('polymer/mutationobservers').then( function() {
System.import('aurelia-bootstrapper');
})
});
Is it a substitution for callback hell - a promise hell? Can sequential System.import
s be flattened to make use of promise chaining, or there may be problems with that?