Skip to main content

All Questions

0 votes
0 answers
82 views

Setting up Webpack Module Federation

For setting up Webpack Module Federation say for a React project, do we have any option apart from Ejecting the React App and overriding the Webpack configs (e.g. overrideWebpackConfig) OR Using ...
copenndthagen's user avatar
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 ...
copenndthagen's user avatar
1 vote
0 answers
160 views

Webpack ERROR in resolving fallback for shared module

I have a folder structure as below. To summarize, it is to implement Module Federation (Host and Child module) and in this case, I am using a shared module (inside shared-context which is just for ...
copenndthagen's user avatar
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", ...
copenndthagen's user avatar
1 vote
0 answers
618 views

Cannot read properties of undefined (reading 'ReactCurrentDispatcher') when trying to run a CRACO React app from a Vite React app

I have a pretty large React app that was created with CRA and subsequently had CRACO added to it. Working on this app is starting to get very tedious so I wish to try and break it up, incrementally, ...
tdranv's user avatar
  • 1,280
0 votes
0 answers
733 views

Getting missing chunk in client module Using Webpack Module federation with CRACO

`I am working on overhauling an existing React App to use a composite UI. I have opted to use the Module Federation plugin that Webpack provides. Instead of ejecting the webpack config that CRA makes ...
Scott Tanner's user avatar
1 vote
0 answers
743 views

Dynamic Remote Url for webpack Module Federation

Assuming that both my remote and consumer application is hosted on the same domain and that domain might change dynamically based on deployment box, what would be best practice to give remote url in ...
Shouvik Bhuiyan's user avatar
1 vote
1 answer
2k views

MFE module federation cannot find module for remote child import

Im trying to build out a micro frontend for the first time so my main application can support a sub application. I have it all working when everything is just rendering App.tsx (remote) but as soon as ...
Kierchon's user avatar
  • 2,289
2 votes
2 answers
4k views

Module federation using CRACO, React and typescript throws error: Module not found Can't resolve module "mfe1/Component"

craco.config.js for mfe1 const ModuleFederationPlugin = require('webpack/lib/container/ModuleFederationPlugin'); module.exports = { mode: 'development', devServer: { port: 9999, ...
Manaswini Muralidaran's user avatar