- toolsFebruary 2, 2022 / 7 min read
webpack hot module replacement (HMR) principlehot module replacement (HMR) is one of the most useful features webpack provides. It allows all types of modules to be updated at run time without a complete refresh.
- toolsJanuary 20, 2022 / 3 min read
- toolsFebruary 10, 2021 / 7 min read
Analysis of the principle of module federationModule federation is implemented via the `ModuleFederationPlugin` plugin provided natively by Webpack, which has two main concepts: Host (consuming other Remote) and Remote (being consumed by Host). Each project can be Host or Remote, or both.
- toolsFebruary 4, 2021 / 3 min read
Use webpack5 module federation for code sharing across applicationsWhen project A needs to share A component of Project B, both sides need to be consistent in subsequent iterations. There are two ways to do this