ningzbruc

Results 4 comments of ningzbruc

me too, seems like the compilation.compiler is proxyed ```js compilation.compiler !== compiler ``` ![image](https://user-images.githubusercontent.com/471003/108697039-4a018300-753d-11eb-9d20-9c80828320db.png)

+1, seems like the image buffer was transformed to string when use with happypack ![image](https://user-images.githubusercontent.com/471003/44514303-53060500-a6f2-11e8-85af-183d193ba2dc.png)

> 这个应该有一个单独的 unload 方法来做卸载比较好,不过 2.x 不计划再新增 api 了 unloadMicroApp 的作用包含哪些呢?卸载微应用且删除资源缓存?可能容易跟 unmount 混淆吧? disableCache 类似 chrome devtool 里的停用缓存,功能比较聚焦一些,并且可以针对特定微应用开启

> 不会混吧,single-spa也有类似的api。 > > 这个需求本质是卸载一个应用,确保他的缓存等信息是清空的,加载一个不带cache的微应用背后实际就是先清空缓存再加载 这个也有道理,但如果页面中存在多个相同微应用实例,此时并不会进行卸载,那就依然存在缓存问题 或者说 disableCache 的配置和 unloadMicroApp API 并不冲突?两者支持的场景有不同的地方