ice icon indicating copy to clipboard operation
ice copied to clipboard

ice3主应用引入微应用的配置,使用sandbox:true,页面会很卡顿

Open yyyyffqqqq opened this issue 1 year ago • 1 comments

Describe the bug

ice3的主应用引入微应用的配置,使用sandbox:true,微应用页面会很卡顿

Expected behavior

微应用页面会卡顿,不使用长列表虚拟滚动的时候,肉眼还感觉不到太卡,使用长列表虚拟滚动就能感觉很卡顿,设置sandbox:false,则原本卡顿的页面,滚动就很流畅

Actual behavior

No response

Version of ice.js

"@ice/app": "3.4.12"

Content of build.json or ice.config.mts

No response

Additional context

引用微应用的配置:

{ name: '', title: '', activePath: ``, sandbox: true, cached: false, loadScriptMode: 'fetch', scriptAttributes: ['crossorigin=anonymous'], entry: xx/index.html , },

yyyyffqqqq avatar Oct 26 '24 13:10 yyyyffqqqq

观察下堆栈,sandbox 开启容易导致一些执行在沙箱环境未卸载

ClarkXia avatar Oct 28 '24 06:10 ClarkXia