ice.js 2.0 + React 18 环境下子应用重复加载的问题
Open
bug
- Dominant language
- TypeScript
- Stars
- 18.6k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
### Expected behavior
icejs版本为2.6.10 react版本为18.3.1
子应用会在主应用加载的情况下 执行两次app.tsx文件 导致页面加载-销毁-再加载
### Actual behavior
_No response_
### Version of ice.js
2.6.10
### Content of build.json or ice.config.mts
```TypeScript
```
### Additional context
_No response_
Contributor guide
Research direction
Reproduce the issue with ice.js 2.6.10 and React 18.3.1, focusing on the sub-application's app.tsx execution while the main application loads. The issue provides no build.json or ice.config.mts configuration, so first isolate a minimal setup and compare the loading lifecycle. Done means app.tsx runs once and the page is not destroyed and reloaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100