**bug** **复现过程** 1. 主应用使用vue3 + antd构建; 2. 子应用使用react18 + antd5 + other(内部基于antd4封装的组件库); 3. 子应用覆写unmount函数,特意不执行root.unmount()卸载子应用(发现这样可以缓存react子应用页面状态) `export function unmount() {console.log('unmount ')}` 4. 从子应用A切换到别的子应用B再切回该子应用A离开时的路由,出现样式丢失,自己写的module.css样式和antd5(用了prefixCls)框架的样式,都丢了 **期望** 1. 切换子应用后样式不丢,正常展示。 2. 或者是否有缓存子应用所有状态的方案? 3. 或者能说明一下子应用切换时做了啥事情吗?
bug
复现过程
export function unmount() {console.log('unmount ')}期望