module-federation-with-webpack5
aegis-host
module-federation-with-webpack5 | aegis-host | |
---|---|---|
1 | 1 | |
2 | 235 | |
- | 0.0% | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
JavaScript | JavaScript | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
module-federation-with-webpack5
-
Why is there hype around Module Federation
So to conclude, I see the value proposition of Module Federation. It fits right into the build toolchain since its a part of Webpack. The configuration required is little and the learning curve is non existent. It does not seem to require any drastic changes to the codebase. If you are interested in trying out Module Federation hands-on, I have a demo available here - Module Federation with Webpack5
aegis-host
-
Modular Monoliths: Have we come full circle?
If you want to keep your frontend and backends separate but you don't want to pay the "microservices premium", another interesting pattern that has emerged is libraries like "MicroLib", built on top of Module Federation and based on "hexagonal architecture" to create a "polylith", a monolith comprised of multiple (what would otherwise be) microservices.
What are some alternatives?
webpack-4 - Webpack 4 Plugin For Module Federation
module-federation-examples - Implementation examples of module federation , by the creators of module federation
hel - A module federation SDK which is unrelated to tool chain for module consumer. 工具链无关的运行时模块联邦sdk.
dynamic-container-path-webpack-plugin - Change 'publicPath' at run time rather than build time for dynamic module federated containers.
universal-module-federation-plugin - Versioned remote module manager based on npm and module-federation
examples - Example actors, capability providers, and other demonstrations
module-federation-react - Implementando la Federación de Módulos en React: Una guía paso a paso
pitstop - This repo contains a sample application based on a Garage Management System for Pitstop - a fictitious garage. The primary goal of this sample is to demonstrate several software-architecture concepts like: Microservices, CQRS, Event Sourcing, Domain Driven Design (DDD), Eventual Consistency.
dynamic-host-module-federation - An environment-agnostic, federated host that consumes remote applications dynamically.
klap 👏 - zero config, zero dependency bundler for tiny javascript packages