alibaba / ice

🚀 ice.js: The Progressive App Framework Based On React(基于 React 的渐进式应用框架)
https://ice.work
MIT License
17.81k stars 2.09k forks source link

<KeepAliveOutlet /> do not works properly when SSG #6937

Closed ClarkXia closed 2 weeks ago

ClarkXia commented 2 weeks ago

Describe the bug

Using KeepAliveOutlet in Layout will cause empty output when SSG.

Expected behavior

works properly when SSG.

Actual behavior

No response

Version of ice.js

3.4.10

Content of build.json or ice.config.mts

No response

Additional context

No response

ClarkXia commented 2 weeks ago

Only happens when use React.unstable_Activity as KeepAliveOutlet