Features
- Applications that fail to load will now have their loading functions retried/recalled when you navigate away from the route with the failed app and then come back to it. This is intended to make single-spa behave better when network connectivity is intermittent. (#342 via @blittle)
If using systemjs, you need to listen to application errors and then call System.delete whenever an application goes into LOAD_ERROR state. If you don't do that, SystemJS will not re-attempt the network request to download your bundle.
singleSpa.addErrorHandler(err => {
if (singleSpa.getAppStatus(err.appOrParcelName) === singleSpa.LOAD_ERROR) {
System.delete(System.resolve(err.appOrParcelName));
}
})