module-federation-examples
module-federation-examples copied to clipboard
Implementation examples of module federation , by the creators of module federation
I can see a disadvantage using remotes libraries vs the classical libraries where e.g. typescript can be used to enforce strong types. The current typescript example defines a generic `app2/Button`...
Repo that reproduces the issue - https://github.com/tzachbon/mf-shared-deep-dependency This example tries to reproduce the problem when sharing a dependency that exists in multiple versions across the node modules but resolves the...
Is there no hack-free solution https://github.com/module-federation/module-federation-examples/blob/master/nextjs-ssr/host/next.config.js ```remotes: { remoteLib: isServer ? "remoteLib@http://localhost:3002/node/remoteEntry.js" : //This is a hack (I cannot run successfully MF in client-side with NextJS and React, maybe doing...
I m exposing one future module from my mfe. From my feature module app_base_href setter and interceptor declared in the app module will not be accessible. In my app.module.ts ```...
I followed the Vue2 in Vue3 example and trying to do the opposite approach of it since my complete app is running on Vue2 and its merely a huge shift...
i can't run this example project, error below here. `lerna info Executing command in 2 packages: "yarn run start" @shared-context/app1: yarn run v1.22.4 @shared-context/app2: yarn run v1.22.4 @shared-context/app1: $ webpack-cli...
I saw that the [useServiceContext](https://github.com/module-federation/module-federation-examples/blob/c52b3293549d4f7fc65196432d4ef9ea7eb1ef91/shared-routing/dashboard/src/DashboardService.js#L4) in the shared-routing is using normal static import. My code has extensive code splitting and stuff and turns out I can even use static import...
Hello, I used the third-party UI Library in the remote module and shared it in shared, but when I use the components in the remote module locally, the style and...
Hey again. I would like to raise one more question. I feel it is more concrete and I hope valid than the previous one. So, we have to applications. App1...