Question · JavaScript and React course · Module 10: React Ecosystem and Future

Module Federation in Webpack 5

What is Module Federation used for in the context of micro-frontends?

Answer options

  • For splitting code into smaller JavaScript files
  • For automatic component testing
  • For generating API documentation
  • For sharing modules and components between independent applications at runtime

You can check the correct answer by solving this task in the CodeWorlds game.