tbd
Notice:
Modal will be closed because handleRouteChange calls closeModal.
CloseModal checks the dirty state on iframe mf which is async which means resetMicrofrontendModalData will be called later. We do not have this for wc.
Due to the async resetMicrofrontendModalData, the function await this.shouldShowModalPathInUrl(); will be callled earlier and modal data url won't be lost.
Edit: See discussion here
tbd
Notice:
Modal will be closed because handleRouteChange calls closeModal.
CloseModal checks the dirty state on iframe mf which is async which means resetMicrofrontendModalData will be called later. We do not have this for wc.
Due to the async resetMicrofrontendModalData, the function
await this.shouldShowModalPathInUrl();will be callled earlier and modal data url won't be lost.Edit: See discussion here