ice3主应用引入微应用的配置,使用sandbox:true,页面会很卡顿
- Dominant language
- TypeScript
- Stars
- 18.6k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
### 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` ,
},
Contributor guide
Research direction
No source file, test, or runnable reproduction is identified. First reproduce the micro-application setup with @ice/app 3.4.12 and compare scrolling a long virtualized list with sandbox set to true and false; done means sandbox true no longer causes the reported scrolling lag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100