umijs / qiankun

📦 🚀 Blazing fast, simple and complete solution for micro frontends.
https://qiankun.umijs.org
MIT License
15.58k stars 2k forks source link

通过路由切换子应用时,会触发子应用的mount和unmount ,但是浏览器返回/前进路径时,不会触发钩子 #2929

Closed heyden-suimu closed 3 months ago

heyden-suimu commented 3 months ago

Background

一个基座,两个子应用 通过路由切换子应用时,会触发子应用的mount和unmount ,但是浏览器返回/前进路径时,不会触发mount和unmount 钩子

Proposal

都会触发钩子,因为需要根据子应用切换做一些操作,比如设置container

Additional context

🙏

github-actions[bot] commented 3 months ago

由于缺乏足够的信息(github、stackblitz、codesandbox等可复现仓库),我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。如果只是单独的技术咨询,可移步 https://qiankun.umijs.org/#-community 交流~