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
Hi,
First of all, thanks for creating this project!
I know that this issue was discussed in several places, but the solutions offered there did not solve mine.
I'm talking about Modules which get updated, but are not refreshed in the browser. SASS, on the other hand, does. I know, a well known issue here.
It appears that I'm bumping into an issue which has to do with externalizing React and ReactDOM (among others, like Mobx and PropTypes). A few facts first:
The application is built with modules which are lazy loaded, and also MicroFrontends - all of which are using ths same externalized React and ReactDOM.
The Webpack configuration is comprised of multiple modules (entry points)
I cannot "don't externalize" since the other MicroFrontends rely on React and ReactDOM being available on the window.
Having the optimization.splitChunks as you have them in the sandbox (which, BTW, still has errors loading there) is not an option since it fails to load the chunks, and result in not loading the application.
The whole thing is really hard to debug... and sadly I cannot upload the entire configuration, but if there are sections of it you would like to inspect I will try to extract them and put them here.
Any idea how to by-pass this issue and have the refresh work?
Also, I didn't quite understand how the React devtool should help (can they, in this situation?)
Many thanks!
The text was updated successfully, but these errors were encountered:
Hi,
First of all, thanks for creating this project!
I know that this issue was discussed in several places, but the solutions offered there did not solve mine.
I'm talking about Modules which get updated, but are not refreshed in the browser. SASS, on the other hand, does. I know, a well known issue here.
It appears that I'm bumping into an issue which has to do with externalizing React and ReactDOM (among others, like Mobx and PropTypes). A few facts first:
optimization.splitChunks
as you have them in the sandbox (which, BTW, still has errors loading there) is not an option since it fails to load the chunks, and result in not loading the application.The whole thing is really hard to debug... and sadly I cannot upload the entire configuration, but if there are sections of it you would like to inspect I will try to extract them and put them here.
Any idea how to by-pass this issue and have the refresh work?
Also, I didn't quite understand how the React devtool should help (can they, in this situation?)
Many thanks!
The text was updated successfully, but these errors were encountered: