You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ran in a bug today because one of our remotes was not available and then invalid singleton versions have been loaded upon application bootstraping.
We tracked the problem down to the fact the when loading the remotes the code uses a Promise.all() who according to the documentation resolves at the moment one of the sub-promises rejects. We think the correct solution is to use Promise.settled() so that it ensure that ALL remotes have been loaded successfully/not sucessfully.
We ran in a bug today because one of our remotes was not available and then invalid singleton versions have been loaded upon application bootstraping.
We tracked the problem down to the fact the when loading the remotes the code uses a
Promise.all()
who according to the documentation resolves at the moment one of the sub-promises rejects. We think the correct solution is to usePromise.settled()
so that it ensure that ALL remotes have been loaded successfully/not sucessfully.module-federation-plugin/libs/mf-runtime/src/lib/loader/dynamic-federation.ts
Line 325 in d0bc565
The text was updated successfully, but these errors were encountered: