We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 CSR 下,Suspense 组件如果 rerender,里面的 useSuspense 会重新发起请求,因为此时 script 中注入的 script 不会执行,导致无法从 ICE_SUSPENSE_LOADER 中取到值,suspenseState 状态也会被重置
理论上CSR行为应该与 SSR 一致,针对一个 id 只发起 1次请求
No response
3
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
在 CSR 下,Suspense 组件如果 rerender,里面的 useSuspense 会重新发起请求,因为此时 script 中注入的 script 不会执行,导致无法从 ICE_SUSPENSE_LOADER 中取到值,suspenseState 状态也会被重置
Expected behavior
理论上CSR行为应该与 SSR 一致,针对一个 id 只发起 1次请求
Actual behavior
No response
Version of ice.js
3
Content of build.json or ice.config.mts
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: