小探微前端

Kopei article

前言

关键好处和缺点 Key Pros&Cons of Micro frontend

微前端的好处类似微服务,主要表现在:

  • 分开的前端代码仓库,每个仓库代码量少
  • 每个小团队有更多的自主权,解耦相互依赖
  • 重构或更新部分代码的代价更小

微前端的缺点主要有:

  • 多个前端仓库可能导致依赖包的重复,这样客户端会多下载相关医疗
  • 高度的自治可能会导致开发的碎片化
  • Title: 小探微前端
  • Author: Kopei
  • Created at : 2022-03-19 00:00:00
  • Updated at : 2025-08-13 18:15:58
  • Link: https://kopei.github.io/2022/03/18/frontend-2022-03-19-microfront-intro/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments