Sobes.tech
Middle

You mentioned several independent frontend applications — are these micro frontends? Have you worked with Module Federation?

sobes.tech AI

Answer from AI

Yes, several independent frontend applications that I developed can be classified as micro frontends — this is an approach where different parts of the interface are implemented and deployed separately. I have worked with Module Federation, which is a technology of Webpack 5 that allows dynamically loading modules from other applications at runtime. This is convenient for micro frontends, as it allows sharing code and updating parts of the interface independently.

Example of using Module Federation in webpack.config.js:

new ModuleFederationPlugin({
  name: 'app1',
  remotes: {
    app2: 'app2@http://localhost:3002/remoteEntry.js',
  },
  shared: ['react', 'react-dom'],
})

This allows the app1 application to use components from app2 without a full build.

You mentioned several independent frontend… - sobes.tech