All Questions
Tagged with webpack-module-federation javascript
82
questions
0
votes
0
answers
34
views
How to expose a React component from host application to a module federated child application in Micro Front End Architecture?
I was exploring the Microfront End Architecture, and I found this very useful github repo https://github.com/nebarf/module-federation-react-router-dom
My usecase is I want to expose a component from ...
0
votes
0
answers
37
views
remote application child route not working - Angular
in microfrontend - i am exposing one module suppose m1 and this m1 have 5 route it's working fine while i am running this child application individually but after integrate as microsite in shell ...
0
votes
0
answers
52
views
how can I achieve css isolation in my module federation app?
I have React module federation app.
I load several remote components, which are being developed by other development teams in the company.
lately, we've ran into an issue where the css of the remote ...
0
votes
0
answers
13
views
Webpack Federation Errors when implment iFrom one React Vite to another?
i have this Error when implment Table Data to another React App with same versioning in remote and host using module federation
Code or Remote
const { merge } = require('webpack-merge');
const ...
4
votes
0
answers
147
views
Prevent module name from being minified in webpack bundle
I have a host application that consumes a remote package through a script tag.
My remote package includes the following ModuleFederationPlugin config within the webpack config
plugins: [
new webpack....
0
votes
1
answer
73
views
React Component gets rerendered
I have a React wrapper component which gets re-rendered. This is actually related to a wrapper for a microfrontend.
How can I find out what causes it to suddenly re-render even though the control is ...
0
votes
0
answers
68
views
Complex column sorting in tanstack table (Solid) issues
In a Solid JS app, I am attempting to utilize the Sort feature of a Tanstack Table (V8). I'm also using Webpack5 and Module Federation, if that could potentially cause an issue.
I have a column that ...
0
votes
0
answers
106
views
Webpack Module Federation shared dependencies with eager attribute
I have a couple of questions regarding shared dependencies with Webpack Module Federation
If we use eager: true for a dependency, does it mean that the code for that dependency is included within the ...
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
985
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
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
1
answer
171
views
Error in next module federation: `TypeError: g.useSyncExternalStore is not a function`
I'm getting below error after deploying next app with module federation:
TypeError: g.useSyncExternalStore is not a function
Same app working as standlone application means when run yarn dev/yarn ...
-1
votes
1
answer
188
views
Module Federation App and React Bootstrap
I am new to Module Federation. So just had a very basic question regarding structuring a React App to support Module Federation.
So I have index.js as
import('./bootstrap');
export { };
bootstrap.jsx ...
0
votes
1
answer
195
views
react-scripts build works, but craco build fails
For my React App, I am trying to implement Module Federation using CRACO.
My dependencies in package.json are as below;
"dependencies": {
"autoprefixer": "10.4.5",
...
0
votes
1
answer
66
views
Can I use Webpack Module Federation plugin with create-react-app directly without ejecting
Can I use Webpack Module Federation plugin to convert my existing create-react-app directly without ejecting and without using CRACO configs ?