Skip to main content

All Questions

-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 ...
copenndthagen's user avatar
0 votes
0 answers
234 views

Module Federation in React App (cross-origin error was thrown)

I am implementing a React microfrontend using Module Federation (1 Host and 1 child). I am using React version 17 with "@craco/craco" version as "7.0.0" CHILD APP CODE BELOW In my ...
copenndthagen's user avatar
-1 votes
1 answer
275 views

How to create absolute route from an unknown but relative base path

I have a micro-frontend application being loaded into one of several different host apps via Module Federation using webpack. The MFE is agnostic to its hosting app, by design, but through Module ...
Whelch's user avatar
  • 2,080
0 votes
0 answers
774 views

Module federation with react router v6

I have a bi-directional module federation which is like this: I have created two separate projects, one for "main" and one for "subscription". MAIN is like this: import { ...
Erlend Betting's user avatar
1 vote
0 answers
641 views

React Router Vite Module Federation Component Issue

I have a component in a react project that is being exposed in my module federation config function Page(props: { routes: Route[] }) { return ( <BrowserRouter> <...
user3074140's user avatar
2 votes
0 answers
856 views

Navigate To Home Conflict In React Router and Module Federation

I am trying to use React Router in a microfrontend setup as below; I use React, React-Dom and React-Router-Dom as shared between federated applications. // package.json "dependencies"...
vvvnn's user avatar
  • 241
7 votes
1 answer
11k views

Webpack module federation and react-router-dom

How to properly setup ModuleFederation and react-router-dom so that I can have Router and routes defined in Host app and remote Header app has <Link> components pointing to the routes defined ...
anmatika's user avatar
  • 1,671
2 votes
0 answers
1k views

My routing with React router dom, <Route /> not working

I'm building a module federation/react aplication. I'm currently working on my container, and i've been setting up the environment for everything, including TS, now, when i try to create my routes, ...
Diego's user avatar
  • 591
6 votes
2 answers
7k views

Webpack module federation lazy loading remoteEntry.js

Am I able to lazy load apps' entry files when I am using React with ReactRouter? When I enter page there are many requests for remoteEntry.js files for each app I have. I do not want to fetch it at ...
Sheppard25's user avatar
2 votes
2 answers
3k views

ReactJS and Webpack Module Federation Application contains urls with undefined when deployed to cloudfront

I have a micro-frontends app that consists of a container application with several remote applications. It is using ReactJS with Webpack 5 module federation and works fine on my local environment. ...
mh377's user avatar
  • 1,806