Micro Frontends solution for large application(面向大型应用的微前端解决方案),站点国内镜像:https://icestark.gitee.io
MIT License
Bot releases are hidden (Show)
activePath
got falsy values, a warning will be thrown, closes #558activePath
传入 undefined、null 等非法值,会有 warn 提示。 closes #558Published by maoxiaoke over 2 years ago
activePath
is an array #526activePath
配置为数组时,设置正确的 basename 值 #526Published by maoxiaoke almost 3 years ago
🔥 联动官网,提供更详细的错误指引
🚀 微模块支持获取全部导出内容,不仅仅是生命周期函数 #469
Published by maoxiaoke almost 3 years ago
loadScriptMode
equals to fetch
and import
, Closes #373import
's error, Closes #466🔥 持续优化微前端应用的加载体验,当微应用 loadScriptMode 配置为 fetch 或 import、开启脚本沙箱、umd 配置为 true 时,会默认缓存资源。您的应用可能会受此影响,请密切关注,Closes #373
🚀 appHistory 支持传递 state,#477
Published by maoxiaoke almost 3 years ago
Published by maoxiaoke about 3 years ago
hotfix: wrap import
using new Function
to avoid compiler error under chrome61 & ie. (#404)
hotfix: 修复低版本浏览器下 import
编译错误的问题. (#404)
Published by maoxiaoke about 3 years ago
🚀 icestark 2.6.0 is out!
🔥 ES modules can be loaded by icestark. You can use Vite application in icestark.
feat:handle element and re-execute DOM Parser to enable of Angular.(#368)
fix: assign to location.hash never trigger onRouteChange twice. (#353)
refact: change module: commonjs
to module: esnext
.
🔥 支持 ES modules 类型微应用,用 icestark 来加载您的 Vite 应用
feat:完善 Angualr6 版本以上的应用接入 (#368)
fix: Hash Router 不会二次触发 onRouteChange (#353)
refact: 将 icestark 打包成 ESM 导出。
Published by maoxiaoke about 3 years ago
feat: path is deprecated and using the more powerful activePath instead. (#299, #297, #209)
feat: debug mirco-frontends are accessiable by using source maps, even in sandbox. (#259)
fix: call callCapturedEventListeners later to prevent double Prompt. (#325)
refact: refactor url-matching algorithm.
feat: 对齐 API 和 React Component 的使用字段 (#299, #297, #209)
feat: 优化 icestark 本地开发以及沙箱的调试体验 (#259)
fix: 修复使用 Prompt 组件二次弹框的问题 (#325)
refact: 重构路由匹配算法
更多内容变更以及详细解读,查阅 博客
Published by maoxiaoke over 3 years ago
feat: use scriptAttributes=[crossorigin="anonymous"]
to solve Script Error. (#276)
feat: @ice/stark-data
now support symbol key.
fix: unexpectable sandbox's cleaning up when load modules. (#293)
fix: missing ErrorComponent
cause React rendering's error. (#312)
feat: 使用 scriptAttributes=[crossorigin="anonymous"]
来解决 Script Error https://help.aliyun.com/document_detail/88579.html 的问题 (#276)
feat: @ice/stark-data
支持使用 symbol 作为 key
fix: 修复微应用 Dynamic Import 导致的加载问题 (#293)
fix: 修复 React 渲染 Error 实例的问题 (#312)
Published by maoxiaoke over 3 years ago
fix: falsy values except undefined would be trapped by proxy window. (#156)
fix: parse library the right way if library is an array. (#287)
fix: 非 undefined
的假值可以被 proxy 沙箱捕获。
fix: 支持 library 配置方式与 webpack output.library 设置保持一致,支持类型 string[] 配置。
Published by maoxiaoke over 3 years ago
EN
fix: css assets are unable to reload when remove umd
from sub-application.
中文
feat: 修复 start 启动时,子应用 reload 时 css 资源没有加载。
Published by maoxiaoke over 3 years ago
feat: no need to use umd
anymore. Migrate to loadScriptMode
or use setLibraryName
in sub-application. (#240 )
feat: 新的使用 umd 子应用的方式 - 无需在主应用配置 umd: true
Published by maoxiaoke almost 4 years ago
feat: 为 entry 接入方式提供新的 Html resolver
feat: 支持自定义 fetch #211
feat: AppLink 从 @ice/stark-app 导出 #215
fix: 优化 Hash 路由的一些 api 使用问题 #214
feat: new html resolver
feat: support custom fetch #211
feat: export AppLink from @ice/stark-app #215
fix: optimize hash route mode #214
Published by maoxiaoke almost 4 years ago
fix: 优化 css 加载策略,避免重复加载
fix: 修复默认 Loading 组件渲染失效问题
fix: 修复在使用 AppRouter 时,生命周期失效
fix: optimize loading strategy of css resource
fix: add default LoadingComponent for AppRouter
fix: make the lifecycle works for AppRouter
Published by ClarkXia almost 4 years ago
refactor: 重构 api 调用方式去加载微应用
feat: 支持以 api 方式初始化 icestark
refactor: brand new apis for load micro apps
feat: support setup icestark with APIs
Published by ClarkXia almost 4 years ago
feat: 支持加载 UMD 标准微应用
feat: support load UMD module of micro app
Published by ClarkXia about 4 years ago
Published by ClarkXia about 4 years ago