alibaba / ice

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

[WIP] Feat: avoid duplicate request when use suspense data in CSR #6934

Open ClarkXia opened 2 days ago

ClarkXia commented 2 days ago

Avoid duplicate request when use suspense data in CSR. If the state change when useSuspenseData is not ready, the request will be send multiple times due to render time.