yiludege

Results 10 issues of yiludege

我是[无界微前端](https://github.com/Tencent/wujie)的作者,制作动机可查看[文章](https://juejin.cn/post/7125646119727529992),最近才看到这个微前端实现的思路和我的方案非常一致,而且也碰到相同的问题,子应用需要一个空白的、同域的、浏览器前进后退可以生效的 iframe 作为沙箱。 由于 设置 iframe src 等于主应用域名,然后 appendChild 到 body 后通过 document.write 操作: ```javascript iframe.contentDocumennt.open(); iframe.contentDocumennt.write(""); iframe.contentDocumennt.close(); ``` 就可以得到一个空白的、同域的iframe,history.pushState 也可以正常工作,唯独一点,当子应用跳转路由后点击浏览器后退发现无效。 所以无界还是采用直接加载 iframe src 等于主应用域名的地址,然后等 location origin 初始化成主应用域名后立即停止iframe的加载,此时history.pushState 也可以正常工作、子应用跳转路由后点击浏览器后退也可以生效到子应用,但是在等待 location...

**描述bug** patchStylesheetElement中对每次插入进来的样式元素进行了Object.defineProperties,但是可能重复插入相同元素导致反复Object.defineProperties,页面就报错 **错误截图** ![image](https://user-images.githubusercontent.com/19788268/185350903-abba1c1d-7d44-45ef-9ea4-8e77e992196d.png)

bug

**描述bug** window上的事件比如onload 和 document.write添加 script 标签无法生效

bug

劫持子应用的滚动高度,指定子应用滚动到指定位置等相关api,让子应用无感知也无需特殊处理滚动相关问题

enhancement

现在安装包重复依赖太多太慢,采用hoist模式又出现各种诡异现状,准备升级到pnpm + lerna

enhancement

- 比如子应用因为跨域加载失败,要明确错误并及时中断后续流程(待议) - 子应用 在非闭包场景下,使用了 window.locaiton.href 导致子应用 iframe 沙箱被干掉了

enhancement

enhancement

### tdesign-vue-next 版本 1.7.2 ### 重现链接 _No response_ ### 重现步骤 safari浏览器中 tree transition 动画在最新版本中会发生抖动 ### 期望结果 _No response_ ### 实际结果 _No response_ ### 框架版本 _No response_ ### 浏览器版本 _No response_...

need more info

### Before submitting the PR, please make sure you do the following - [x] Read the [Contributing Guidelines](https://github.com/vueuse/vueuse/blob/main/CONTRIBUTING.md). - [x] Read the [Pull Request Guidelines](https://github.com/vueuse/vueuse/blob/main/packages/guidelines.md). - [x] Check that there...

size:L