-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
axLazyElement not able to identify whether remote element is stopped or running #148
Comments
Hi @edgarjoao did you try to use ng-template like this?
|
Hi @DanielBou99, |
@edgarjoao when it happens, did you try in another browser or anonymous Page? It appears to be cached by the browser |
Hi @DanielBou99 this is happened in any browser. This is my Shell Driver app. The only way to identify whether a MFE is running or not, it’s reloading the page, but this is not good for SPA. Is there a way that axLazyElement library to not cache the MFE and listen when is not running? |
@edgarjoao I'll try to see. |
@tomastrajan also, is it possible to send the repo of your projects? |
After several tests, I finally found the problem. I believe the solution is to somehow force the browser to make the request again, I am studying a way to do this. |
@edgarjoao I just solved the issue! Solution: |
Hi @DanielBou99 I'm using ng serve to run the MFE and driver app, is there a way to disable the cache there? |
In general it works the best to use E-tags when serving element (webcomponents) bubdles. Url will always stay the same(no hash in filename), FE will make a preflight request to BE to figure out if content of the bundle changed since last request. Hope that helps! |
@edgarjoao probably yes, I can check it out if you push the projects to your repository. |
Hi @DanielBou99 and @tomastrajan, I think a remove element would be an option in case an error trying to load the javascript. |
I understand but it would be necessary to reproduce your error to understand what is happening because in my project I managed to solve it. |
Hi there,
I'm running in an issue using axLazyElement,
I do have a shell and MFE running in separated http servers.
Every time I have to stop the MFE I'm expecting axLazyElement directive identify whether the MFE is running or not.
Is there a way to setup this feature?
Thanks
The text was updated successfully, but these errors were encountered: