Questions tagged [webpack-module-federation]
The webpack-module-federation tag has no usage guidance.
webpack-module-federation
590
questions
0
votes
0
answers
151
views
How to share a service from host to remote in a micro frontend architecture?
I have a service in my host application that I would like to use in my remote (MFE) application. These 2 applications are hosted in different repositories
E.g. in my remote application
this....
2
votes
0
answers
541
views
How is remoteEntry.js created in module federation/micro frontend?
I'm reading up on module federation/ MFE and it all seems to make sense besides the remoteEntry.js file.
So if I understand this correctly, my MFE:
Creates a remoteEntry.js file which my host then ...
0
votes
1
answer
484
views
Angular - Module Federation - How to Share model/usecase files
I'm working with Module federation and I've a shell app and a host app. They are linked as follows:
Shell Application:
webpack.config.js
plugins: [
new ModuleFederationPlugin({
remotes: {
...
0
votes
0
answers
64
views
inject() must be called from an injection context Angular Microapp module federation
I have an Angular app with some microapps in it using module federation. When I Log-In to it and try to access those microapps "SOMETIMES RANDOMLY" I get the inject() must be called from an ...
0
votes
0
answers
60
views
How to load an angular app inside a react shell mono
I have a react shell nx-mono repo application.
Also I have an angular mono-repo remote application which exposes the entry.routes.ts like below
My angular module-federation-config.ts file
import { ...
1
vote
1
answer
79
views
How to fetch latest UI changes if the container is updated without refreshing the browser
I have a micro frontend application in Angular which I have built using module federation. It runs in production with Docker containers.
My question is if the user browses some micro frontend app and ...
1
vote
1
answer
986
views
Module federation with Next JS with out @module-federation/nextjs-mf
I am transitioning from Java to JS and am currently working on a Next JS project. I got a requirement to share the client component from the Next JS project with another project that is built on ...
0
votes
0
answers
203
views
How to update remote module without refreshing the window in Angular module federation
I am trying to implement dynamic module federation where I have a host application and few remote applications. for example After running all the application including host app and later when I ...
0
votes
0
answers
38
views
Error while sharing the state from mono-repo shell app
I am trying to share state created with zustand from a mono-repo shell application to an external app outside the mono-repo which is also created using monorepo.
type Store = {
count: number;
...
0
votes
0
answers
93
views
Webpack loading remote module on an incorrect endpoint
I am using webpack's module federation plugin for a microfrontend architecture.
The container app sends a request to the following
new ModuleFederationPlugin({
name: 'container',
filename: ...
0
votes
0
answers
54
views
webpack is not able to serve file correctly when a public path is set
I have an angular shell application and a react micro front end (MFE) that uses webpack and module federation. I have a problem with the remote entry pathing. When I set the MFE webpack output config ...
0
votes
0
answers
55
views
Isolating styles within Microfrontend app using StylesProvider
I have a Microfrontend app (using Module Federation) with 1 Host and a couple of child MFEs
I am trying to isolate the styles between Host and also the child MFEs
So in my Host App.js, I have the ...
0
votes
0
answers
85
views
Is it possible to consume a Vue.js app as a microfronted in a React.js app?
I have a basic Vue.js app and I want to consume it in a React.js app as a react component, is it possible to achieve via module federation? if yes how? please tell me how do I expose the vue.js app in ...
0
votes
0
answers
43
views
Remote Down causing crash in the Host Application - NX Module Federation
I have a NX Workspace created with Host and three remotes (remote1, remote2, remote3) in the same workspace and the 4th one is an external remote.
This external remote application can go down.
If it ...
0
votes
1
answer
368
views
Microfrontend Fixing Conflicting styles issue
I am having a Microfrontend application, which internally uses Material UI dependency (at the Host and Child MFE).
I am running into a CSS conflict issue where in the problem occurs if the order of ...